OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 overrides browser's locale which will be used by default. | 46 overrides browser's locale which will be used by default. |
47 | 47 |
48 Translations | 48 Translations |
49 ------------ | 49 ------------ |
50 | 50 |
51 Translations for the strings in this project are managed using the online | 51 Translations for the strings in this project are managed using the online |
52 [Crowdin platform][crowdin]. To synchronise with Crowdin you can use the build | 52 [Crowdin platform][crowdin]. To synchronise with Crowdin you can use the build |
53 script. To get a list of the possible commands type `./build.py help` at | 53 script. To get a list of the possible commands type `./build.py help` at |
54 the command line. (You will also need the Crowdin API key for the project.) | 54 the command line. (You will also need the Crowdin API key for the project.) |
55 | 55 |
| 56 Before updating translations in the crowdin eyeo send strings to translation |
| 57 agencies, in order to get high quality translations before updating crowdin. |
| 58 Translation agencies are using CSV files, so in order to optimize import and |
| 59 export process use csv-export.js, run `node csv-export.js -h` for instructions.
|
| 60 |
56 firstRun.html | 61 firstRun.html |
57 ------------- | 62 ------------- |
58 | 63 |
59 This is the implementation of the Adblock Plus first-run page that will show up | 64 This is the implementation of the Adblock Plus first-run page that will show up |
60 whenever changes are applied automatically to user's Adblock Plus configuration. | 65 whenever changes are applied automatically to user's Adblock Plus configuration. |
61 This will usually happen when the user first installs Adblock Plus (initial | 66 This will usually happen when the user first installs Adblock Plus (initial |
62 setup), but it can also happen in case the user's settings get lost. | 67 setup), but it can also happen in case the user's settings get lost. |
63 | 68 |
64 To aid testing, the behavior of this page is affected by a number of URL | 69 To aid testing, the behavior of this page is affected by a number of URL |
65 parameters: | 70 parameters: |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 Linting | 117 Linting |
113 ------- | 118 ------- |
114 | 119 |
115 You can lint the code using [ESLint](http://eslint.org). | 120 You can lint the code using [ESLint](http://eslint.org). |
116 | 121 |
117 eslint *.js lib ext | 122 eslint *.js lib ext |
118 | 123 |
119 You will need to set up ESLint and our configuration first, see | 124 You will need to set up ESLint and our configuration first, see |
120 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) | 125 [eslint-config-eyeo](https://hg.adblockplus.org/codingtools/file/tip/eslint-conf
ig-eyeo) |
121 for more information. | 126 for more information. |
OLD | NEW |