1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/addon-sdk/source/test/addons/l10n-properties/data/test-localization.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.5 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.7 + 1.8 +<html> 1.9 + <head> 1.10 + <meta charset="UTF-8"> 1.11 + <title>HTML Localization</title> 1.12 + </head> 1.13 + <body> 1.14 + <div data-l10n-id="Not translated">Kept as-is</div> 1.15 + <ul data-l10n-id="Translated"> 1.16 + <li>Inner html content is replaced,</li> 1.17 + <li data-l10n-id="text-content"> 1.18 + Elements with data-l10n-id attribute whose parent element is translated 1.19 + will be replaced by the content of the translation. 1.20 + </li> 1.21 + </ul> 1.22 + <div data-l10n-id="text-content">No</div> 1.23 + <div data-l10n-id="Translated"> 1.24 + A data-l10n-id value can be used in multiple elements 1.25 + </div> 1.26 + </body> 1.27 +</html