german translation
magenbrot - April 9, 2009 - 12:56
| Project: | Counter |
| Version: | 6.x-1.8 |
| Component: | User interface |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I've made a german translation with the help of the potx module, maybe you could include it with the package.
But first there are some things left to clean up:
- on the settings form is a drop down field with day/minute/second, this field is missing the t()-function so it can't get translated
- in the counter.settings.inc at line 110 is a long part of text where the potx-cli.php says:
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there.
At t("Counter will save access per interval, if you choose 'day' then same IP that access same page will be "."save as 1 record per day, i.e: "."<ul>"."<li>Per day : User A access 'node/12' 25 times per day --> save as 1 record</li>"."<li>Per minute: User A access 'node/12' 25 times on 22:03 and 5 times on 22:07 ---> save as 2 records</li>"."<li>Per second: User A access 'node/12' 2 times on 22:03:01 and 3 times on 22:03:02 ---> save as 2 records</li>"."</ul><b>Caution!</b>Set interval to second may cause your database size too big, because every second access will be saved") in counter.settings.inc on line 110.
If you could correct this part I'll translate it too.
Note that the attached file was renamed to counter.de_.po instead of counter.de.po during upload.
regards,
Oliver
| Attachment | Size |
|---|---|
| counter.de_.po | 5.63 KB |

#1
Take a look at Counter 6.x-2.x, many bugs fixed and many features added.
#2
How can I use this de.po file?
Do I have to create a translation folder within the counter module folder and then pop it in there?
Does it stay as counter.de.po or renamed to de.po?