Left: | ||
Right: |
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 26 matching lines...) Expand all Loading... | |
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. To synchronise with Crowdin you can use the build script. | |
Thomas Greiner
2016/02/15 16:25:45
Detail: Would be nice to hyperlink the first occur
kzar
2016/02/15 16:50:54
Done.
| |
52 To get a list of the possible commands type `./build.py -t generic` at the | |
53 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 Loading... | |
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 |
OLD | NEW |