Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: README.md

Issue 29336327: Issue 2834 - Enable translations for adblockplusui (Closed)
Patch Set: Add link to Crowdin Created Feb. 15, 2016, 4:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Shared Adblock Plus UI code 1 Shared Adblock Plus UI code
2 =========================== 2 ===========================
3 3
4 The user interface elements defined in this repository will be used by various 4 The user interface elements defined in this repository will be used by various
5 Adblock Plus products like Adblock Plus for Firefox. Their functionality can be 5 Adblock Plus products like Adblock Plus for Firefox. Their functionality can be
6 tested within this repository, even though they might not work exactly the same 6 tested within this repository, even though they might not work exactly the same
7 as they will do in the final product. 7 as they will do in the final product.
8 8
9 Directory structure 9 Directory structure
10 ------------------- 10 -------------------
(...skipping 26 matching lines...) Expand all
37 and should be fully functional. Due to security restrictions in Chrome, there 37 and should be fully functional. Due to security restrictions in Chrome, there
38 you need to pass in the `--allow-file-access-from-files` command line flag when 38 you need to pass in the `--allow-file-access-from-files` command line flag when
39 starting the application. Alternatively, you can run `test_server.py` (requires 39 starting the application. Alternatively, you can run `test_server.py` (requires
40 Python 2.7) and open the HTML pages under URLs like 40 Python 2.7) and open the HTML pages under URLs like
41 `http://127.0.0.1:5000/firstRun.html`. 41 `http://127.0.0.1:5000/firstRun.html`.
42 42
43 Various aspects of the pages can be tested by setting parameters in the URL. The 43 Various aspects of the pages can be tested by setting parameters in the URL. The
44 only universal parameter is `locale`, e.g. `?locale=es-AR`. This parameter 44 only universal parameter is `locale`, e.g. `?locale=es-AR`. This parameter
45 overrides browser's locale which will be used by default. 45 overrides browser's locale which will be used by default.
46 46
47 Translations
48 ------------
49
50 Translations for the strings in this project are managed using the online
51 [Crowdin platform][crowdin]. To synchronise with Crowdin you can use the build
52 script. To get a list of the possible commands type `./build.py -t generic` at
53 the command line. (You will also need the Crowdin API key for the project.)
54
47 firstRun.html 55 firstRun.html
48 ------------- 56 -------------
49 57
50 This is the implementation of the Adblock Plus first-run page that will show up 58 This is the implementation of the Adblock Plus first-run page that will show up
51 whenever changes are applied automatically to user's Adblock Plus configuration. 59 whenever changes are applied automatically to user's Adblock Plus configuration.
52 This will usually happen when the user first installs Adblock Plus (initial 60 This will usually happen when the user first installs Adblock Plus (initial
53 setup), but it can also happen in case the user's settings get lost. 61 setup), but it can also happen in case the user's settings get lost.
54 62
55 The behavior of this page is affected by a number of URL parameters: 63 The behavior of this page is affected by a number of URL parameters:
56 64
(...skipping 16 matching lines...) Expand all
73 * `addonVersion`: sets addon version application parameter that is used for 81 * `addonVersion`: sets addon version application parameter that is used for
74 creating the link to the version-specific release notes 82 creating the link to the version-specific release notes
75 * `addSubscription=true`: this parameter should trigger a dialog for adding 83 * `addSubscription=true`: this parameter should trigger a dialog for adding
76 subscriptions as initiated by clicking on an "abp:subscribe" link 84 subscriptions as initiated by clicking on an "abp:subscribe" link
77 * `filterError=true`: causes filter validation to fail, showing validation 85 * `filterError=true`: causes filter validation to fail, showing validation
78 errors when adding new filters on the options page 86 errors when adding new filters on the options page
79 * `blockedURLs`: a comma-separated list of URLs that should be considered 87 * `blockedURLs`: a comma-separated list of URLs that should be considered
80 blocked (necessary to test the check for blocked scripts in sharing buttons). 88 blocked (necessary to test the check for blocked scripts in sharing buttons).
81 * `downloadStatus`: Sets downloadStatus parameter for filter lists, can be used 89 * `downloadStatus`: Sets downloadStatus parameter for filter lists, can be used
82 to trigger various filter list download errors 90 to trigger various filter list download errors
91
92
93 [crowdin]: https://crowdin.com
OLDNEW
« no previous file with comments | « no previous file | build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld