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

Side by Side Diff: README.md

Issue 29636585: Issue 6171 - create CSV exporter and importer for translations (Closed)
Patch Set: Created June 18, 2018, 2:49 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/csv-export.js » ('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 Installing dependencies 9 Installing dependencies
10 ----------------------- 10 -----------------------
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 162
163 Translations 163 Translations
164 ------------ 164 ------------
165 165
166 Translations for the strings in this project are managed using the online 166 Translations for the strings in this project are managed using the online
167 [Crowdin platform][crowdin]. To synchronise with Crowdin you can use the build 167 [Crowdin platform][crowdin]. To synchronise with Crowdin you can use the build
168 script. To get a list of the possible commands type `./build.py help` at 168 script. To get a list of the possible commands type `./build.py help` at
169 the command line. (You will also need the Crowdin API key for the project.) 169 the command line. (You will also need the Crowdin API key for the project.)
170 170
171 Translations CSV exporter
172 -------------------------
173
174 Translation agencies are using CSVs for translating the strings. CSV exporter
175 helps keeping that files in sync with the project. To learn more about the
176 script usage run `node build/csv-export.js -h`.
177
178 Format of the exported CSV files:
179
180 | Filename | StringID | Description | Placeholders | en_US | af | am | ... |
181 |--------------|----------|----------------------|-----------------------------| ----------------|------------|------|-----|
182 | options.json | cancel | Cancel button label | | Cancel | Kanselleer | ይቅር | ... |
183 | options.json | domain | Domain input example | {"domain":{"content":"$1"}} | e.g. $domain$ | | | ... |
184
185
171 firstRun.html 186 firstRun.html
172 ------------- 187 -------------
173 188
174 This is the implementation of the Adblock Plus first-run page that will show up 189 This is the implementation of the Adblock Plus first-run page that will show up
175 whenever changes are applied automatically to user's Adblock Plus configuration. 190 whenever changes are applied automatically to user's Adblock Plus configuration.
176 This will usually happen when the user first installs Adblock Plus (initial 191 This will usually happen when the user first installs Adblock Plus (initial
177 setup), but it can also happen in case the user's settings get lost. 192 setup), but it can also happen in case the user's settings get lost.
178 193
179 To aid testing, the behavior of this page is affected by a number of URL 194 To aid testing, the behavior of this page is affected by a number of URL
180 parameters: 195 parameters:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 errors when adding new filters on the options page 233 errors when adding new filters on the options page
219 * `blockedURLs`: a comma-separated list of URLs that should be considered 234 * `blockedURLs`: a comma-separated list of URLs that should be considered
220 blocked (necessary to test the check for blocked scripts in sharing buttons). 235 blocked (necessary to test the check for blocked scripts in sharing buttons).
221 * `downloadStatus`: sets downloadStatus parameter for filter lists, can be used 236 * `downloadStatus`: sets downloadStatus parameter for filter lists, can be used
222 to trigger various filter list download errors 237 to trigger various filter list download errors
223 * `platform=chromium`: shows the opt-out for the developer tools panel 238 * `platform=chromium`: shows the opt-out for the developer tools panel
224 * `showNotificationUI=true`: simulates user having opted-out of notifications 239 * `showNotificationUI=true`: simulates user having opted-out of notifications
225 240
226 241
227 [crowdin]: https://crowdin.com 242 [crowdin]: https://crowdin.com
OLDNEW
« no previous file with comments | « no previous file | build/csv-export.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld