Open Wassss opened 9 years ago
@Wassss It is enough to translate policeman.properties
and maybe defaults/rulesets/*
. policeman.dtd
is generated from policeman.properties
by build.sh
, build.sh
also fixes missing strings. Those unreasonably long error strings stand for missing keys in policeman.properties
@Wassss Oh, your policeman.properties
looks complete. The problem is that it is not in UTF-8.
@futpib, excuse me, a few days I trying to understand how to deal with git, and how to make a pull-request, but... About programming I only know that it exists... So, here [ru] locale. Sorry... (-_-¨) (I checked the translation with repacked xpi - everything works well)
@Halibut80 No problem 01f055a4ef009ed2bf36cad6aa8ad4d1b58775e4
@Wassss Would you like me to commit your translation too?
@heforfree 6ad837d87b85d293eb1c95c95ea3149c8ff7a03a
@futpib rulesets.zip for ru-RU locale. Sorry again.
@futpib yes of course thx
@heforfree When there is already a rule exactly like one you are about to import (same origin and destination domains and same content type) there are a few options:
I am no English native speaker, so suggestions on better naming are welcome.
@futpib I'm not a native speaker, either. I understood your usage of words and translated them accordingly.
At times it is still the case that translations need updates, because on how they are used in the interface. Like if it is an action or a noun, etc.
@futpib ru-RU policeman.properties for 0.17
Also, default rulesets not translated for me: <img src="http://lh3.ggpht.com/-U-OKtJa9U-Y/VKbVapiWS-I/AAAAAAAAaWI/PmAf_kN8ftY/s0/thumb.jpg"
@futpib fr-FR policeman.properties update for 0.17 with the french version there is a problem with : popup_arrow = → & popup_arrow_with_stroke = ↛
the two symbol are replaced by "?"
@futpib fr-FR policeman.properties update for 0.18pre2
@futpib rulesets-update_FR + https for 0.18pre3
sorry i closed the discussion per mistake
all this string updated. popup_children_hidden_marker popup_allow_rule popup_reject_rule popup_arrow popup_arrow_with_stroke
@futpib, also, I wanted to know: what is the difference between content_type.title.plural.OTHER = Uncategorized
and popup_filter_other = Other
? What type of requests related to each of these categories?
@futpib fr-FR policeman.properties update for 0.18pre7
@Halibut80 In short, content_type.title.plural.OTHER
is a real content type (you can have a rule based on it), while popup_filter_other
is just a name for a button. content_type.title.plural.OTHER
is a content type name for requests that do not fall into any other specific category (image, style and so on), popup_filter_other
is a name for filter button in popup for requests that do not fall into another category among selected in preferences for popup.
For instance when user has all categories checked in preferences, popup_filter_other
button will certainly have 0 requests under it, since all the requests certainly fell into some other category.
Another example:
outcome:
content_type.title.plural.OTHER
-labelled buttonpopup_filter_other
-labelled button@futpib, thanks for the explanation. Small update (line 10&24) policeman.properties
ru-RU policeman.properties for 0.18pre10
@futpib Can you add, please, preferences_userrulesetsimport_file_dialog
@Halibut80 bab5f215f6b844dfccbddc369133128719ba27ff
@futpib, thanks! ru-RU policeman.properties
@futpib updated for new string fa_ir.also i deleted my all older comment that Useless
0.19pre0 fa-ir
@futpib Hi,futpib Based on the Localization guide, I've tried the translation into Japanese. Because did not test, it may not work. Shown below ・chrome\locale\ja-JP\policeman.properties ・defaults\rulesets\each file
Note that I renamed the redirect_notification_popup_message
string to redirect_notification_popup_message_from_to
(a347ac022723516e3ba5f3849216d32e2f6cedab) since from 50be3dd4713e8141f389dfceceb242a02327dd4b on it takes two arguments and the old one is not appropriate.
@futpib updated fa_ir
@futpib fr-FR policeman.properties
Hello, @futpib I really appreciate this addon, and I attempt to translate into simplified chinese, here is a downlink for all the translated files: Translation_zh-CN.zip @futpib sorry that I missed some locale files, now I have re-uploaded a new zip file. preview:
@dxdragon the policeman.properties file seems to missing.
guys go and fill survey"survey regarding it's future" If you like Policeman, please consider participating in a survey regarding it's future.
https://outgoing.prod.mozaws.net/v1/acdee26bcc62f0b5616c9c4121f6fb9e2765f62a8ac1e6343a48b8bde91f844d/https%3A//goo.gl/forms/g6ldXl18sUz3eIwW2 according here https://addons.mozilla.org/en-US/firefox/addon/policeman/
I tried translation to french but failed , a lot of UI problem : 1 2 3 4 5 6 7-popup
I translated/edited this files : "chrome.manifest" "chrome\locale\fr-FR\policeman.dtd" "chrome\locale\fr-FR\policeman.properties" "defaults\rulesets\allow_any.ruleset" "defaults\rulesets\allow_from_file_to_file_and_web.ruleset" "defaults\rulesets\allow_same_second_level_domain.ruleset" "defaults\rulesets\allow_same_site.ruleset" "defaults\rulesets\compatibility.ruleset" "defaults\rulesets\default.ruleset" "defaults\rulesets\i2p_sandbox.ruleset" "defaults\rulesets\onion_sandbox.ruleset" "defaults\rulesets\reject_any.ruleset" to donwload all files : https://www.mediafire.com/?50bjbc35vaosj65
is there any other files which must be translated ?