AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Translation Project Website (https://forums.alliedmods.net/showthread.php?t=203440)

shavit 01-09-2013 11:18

Re: Translation Project Website
 
Please add an option to translate a plugin that I choose!

Peace-Maker 01-09-2013 12:19

Re: Translation Project Website
 
A section like this
Code:

    "Where I aim at"  // a revoir
    {
        "fr"            "Oł je vise."
    }

get's interpreted including the comment.
http://translator.mitchdempsey.com/phrases/1398

Also would be great to be able to add descriptions of the format parameters like {1}.
Currently i'm adding a short info as a comment above the "#format" key. Maybe some syntax like that could be parsed as well? Other than that one could add that description later through the website.
Code:

    "HE bought"
    {
        // 1: Price, 2: amount of grenades in stack
        "#format"        "{1:d},{2:d}"
        "en"            "You bought a {default}HE Grenade (${1}){green} and have {lightgreen}{2}{green} now."
    }

or
Code:

// 1: Price
// 2: amount of grenades in stack
"#format"        "{1:d},{2:d}"


WebDestroya 01-09-2013 13:14

Re: Translation Project Website
 
Peace-Maker,

The comment on the phrase line is definitely a bug. I just pushed a fix up with the change.

Descriptions on format tags is a good idea. I will make some changes and will likely support your second format suggestion:

Code:

// 1: Description of first item
// 2: Description of second item
"#format"        "{1:d},{2:d}"


WebDestroya 01-09-2013 13:30

Re: Translation Project Website
 
shavit,

You can now add translations for specific plugins. Once you view a plugin, there should be a green button with "Translate this plugin!" on it. Clicking that will put you into random translation mode, but restrict the phrases to the requested plugin.

Let me know if you run into any problems, or have any more suggestions :)

WebDestroya 01-09-2013 20:01

Re: Translation Project Website
 
Peace-Maker,

I have added format description support.

http://translator.mitchdempsey.com/phrases/98

If you upload a file with format keys, they will be properly parsed and displayed.

If you do the following:
Code:

// 1: Description of first item
// 2: Description of second item
"#format"        "{1:d},{2:d}"

Then your descriptions will also be shown next to the format type. You can edit your phrase file and re-upload and it will automatically update your format descriptions. Just make sure you use the same format as shown above (it must be a single line comment, one entry per line, and "number colon description"

shavit 01-11-2013 05:37

Re: Translation Project Website
 
Quote:

Originally Posted by WebDestroya (Post 1870386)
shavit,

You can now add translations for specific plugins. Once you view a plugin, there should be a green button with "Translate this plugin!" on it. Clicking that will put you into random translation mode, but restrict the phrases to the requested plugin.

Let me know if you run into any problems, or have any more suggestions :)

Nice one.
Please add this app to the Android Play Store, I'll translate plugins at school :D

Edit:
http://i.imgur.com/Qof6b.png
I have Hebrew and l33tspeak in my languages, but I still can't translate a plugin that doesn't have an Hebrew translate already.
http://i.imgur.com/WCNvy.png

Edit 2:
Re-added my languages and it fixed, also - when I translate SourceBans it redirects me to SM:Conquest right after I translate a phrase..

WebDestroya 01-11-2013 15:15

Re: Translation Project Website
 
shavit,

I will take a look at those errors you are getting.

As for the Android Play, does that require writing a real android app? Or do you want a mobile version of the site?

WebDestroya 01-11-2013 17:09

Re: Translation Project Website
 
shavit,

I fixed the translation bug that kept redirecting you to another plugin.

I am still looking at the first issue.

WebDestroya 01-11-2013 19:07

Re: Translation Project Website
 
sorry for the post spam!

Shavit,

I fixed the bug with the random translation option (the first problem you had)

shavit 01-11-2013 19:11

Re: Translation Project Website
 
Quote:

Originally Posted by WebDestroya (Post 1871827)
sorry for the post spam!

Shavit,

I fixed the bug with the random translation option (the first problem you had)

Great :)

About the Android version, I don't think that is necessary, you can just make a mobile version of the site. Easier and compatible with everything.


All times are GMT -4. The time now is 18:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.