Hi can you make a flashvideo.pot file for this module?

CommentFileSizeAuthor
#8 pl.po54.16 KBopel
#5 general.pot33.26 KBsantiajo

Comments

travist’s picture

Status: Active » Postponed (maintainer needs more info)

If you send me the .pot file, I will include it with the next release.

opel’s picture

If i had .pot file, i would make a pl.po translation :)

travist’s picture

sure! I just add it to the files, right? I have never done that before so maybe someone can walk me through it.

opel’s picture

I only know that flash video should have a translation directory with flashvideo.pot file.

Example based on tagadelic.pot (header and first translated string) :

# LANGUAGE translation of Drupal (tagadelic.module)
# Copyright YEAR NAME <EMAIL@ADDRESS>
# Generated from file: tagadelic.module,v 1.36 2006/11/16 17:25:21 ber
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2006-12-26 15:37+0100\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

#: tagadelic.module:10
msgid "Tagadelic offers dynamic urls. <br/>Visit example.com/tagadelic/list/2,1,5 to get the vocabularies 2,1 and 5 listed as tag groups. <br/>Visit example.com/tagadelic/chunk/2,1,5 to get a tag cloud of the terms in the vocabularies 2,1 and 5.<br/> Note that we limit to five vocabularies."
msgstr ""

#: tagadelic.module:26
msgid "Tagadelic configuration"
msgstr ""
santiajo’s picture

StatusFileSize
new33.26 KB

You can create a pot with potx module: http://drupal.org/project/potx

In order to get a translation you should fix some mistakes in flashvideo.module code, then you can generate the pot.

Code I changed:

flashvideo.module - Line 86 - The first parameter to t() should be a literal string.

$output .= '<p>' . t('To enable this module for a certain node type, you must first go to the !settingslink and select the FlashVideo settings for any available node type in the Drupal system.  Once the FlashVideo module has been enabled for that node type, you will then notice the modified Upload form when you add new content for that node type.', array( '!settingslink' => l(t('FlashVideo Settings'), 'admin/settings/flashvideo') )) . '</p>';

In flashvideo_menu() removed t() function from 'title' and 'description' values

travist’s picture

I have committed those changes that you suggested for the FlashVideo module. They will be in the next release. Thanks for your efforts.

travist’s picture

Status: Postponed (maintainer needs more info) » Fixed

should be fixed in version 1.4.rc1

opel’s picture

StatusFileSize
new54.16 KB

Hi,
I have made polish translation. The translation file is available at http://opel.psikus.pl/system/files/pl_6.po or in attachment , I've hope travis, that You place it in newest relase with flashvideo.pot within translations/ directory :)

travist’s picture

opel,

Thank you so much for this. I will do my best to add it to the 1.4 release. In the meantime, I might need some help from someone willing to make the flashvideo.pot file. I would really appreciate it. If not, then I might have some time next week to get to it.

Thanks,

Travis.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.