Closed (fixed)
Project:
Translation templates for Drupal core
Component:
PO files
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2005 at 09:21 UTC
Updated:
15 Sep 2005 at 19:43 UTC
I have created POT files for all modules in contributions (DRUPAL-4-6 branch) where POT files didn't already exist.
This leads to a couple of questions:
| Comment | File | Size | Author |
|---|---|---|---|
| pot_errors.txt | 28.94 KB | wulff |
Comments
Comment #1
killes@www.drop.org commented1) I think it makes sense to have only one POT file per contributed module. Mergin into one file in ther fore recommended.
2) You can upload POT files into CVS without asking. If you get complaints, redirect them to me.
3) Sometimes these errors cannot be avoided, then they shoudl be ignored. Otherwise there should be bugs filed.
example:
Invalid marker content in volunteer.module:338
* t(substr($rating->comments,0,25)."...")
The comment is user contributed content. This is generally not translated and thus the t() function should be removed.
Invalid marker content in summary.module:184
* t(ucfirst($type_name)." title")
This should be rewritten to
t("%name title", array('%name' => ucfirst($type_name)))
IMNSHO ucfirst should not be used in modules.
Invalid marker content in volunteer.module:447
* t($text,$variables)
That is a plain bug. Variables shoud not be used in t().
Comment #2
(not verified) commentedComment #3
(not verified) commentedComment #4
kmr2005 commentedComment #5
(not verified) commentedComment #6
pem commented