Project:Counter
Version:6.x-1.8
Component:User interface
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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 &nbsp;&nbsp;&nbsp;&nbsp;: 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

AttachmentSize
counter.de_.po5.63 KB

Comments

#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?

#3

@Quartz:

you can import .po files on your site here: /admin/build/translate/import

regards,
Oliver

#4

Thanks magenbrot. In between I figured this out, but it does seem that the install on the host server is having trouble accessing the database and therefore rendering translations (among other things) haphazardly. Am waiting for the client to move to a better configured host.

nobody click here