Skip to content

Commit 57eb861

Browse files
committed
Most strings are now translatable
1 parent 0fc4f45 commit 57eb861

File tree

4 files changed

+34
-17
lines changed

4 files changed

+34
-17
lines changed

src/chrome/content/about.xul

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,34 @@
88
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
99
xmlns:html="http://www.w3.org/1999/xhtml"
1010
buttons="accept"
11-
title="About HTTPS Everywhere"
11+
title="&https-everywhere.about.title;"
1212
width="500"
1313
height="550"
1414
align="center">
1515

1616
<script type="application/x-javascript"
1717
src="chrome://https-everywhere/content/preferences.js"/>
1818
<vbox>
19-
<label style="text-align:center; font-weight:bold; font-size:22px;">HTTPS Everywhere</label>
20-
<label style="text-align:center; font-size:18px; margin-bottom:10px;">Encrypt the Web! Automatically use HTTPS security on many sites.</label>
19+
<label style="text-align:center; font-weight:bold; font-size:22px;">&https-everywhere.about.ext_name;</label>
20+
<label style="text-align:center; font-size:18px; margin-bottom:10px;">&https-everywhere.about.ext_description;</label>
2121

2222
<groupbox>
23-
<caption label="Version" />
23+
<caption label="&https-everywhere.about.version;" />
2424
<label>2.0development.1</label>
2525
</groupbox>
2626

2727
<groupbox>
28-
<caption label="Created by" />
28+
<caption label="&https-everywhere.about.created_by;" />
2929
<label>Mike Perry and Peter Eckersley</label>
3030
</groupbox>
3131

3232
<groupbox>
33-
<caption label="Ruleset Librarians" />
33+
<caption label="&https-everywhere.about.librarians;" />
3434
<label>Seth Schoen, Mike Cardwell and Andreas Jonsson</label>
3535
</groupbox>
3636

3737
<groupbox>
38-
<caption label="Thanks to" />
38+
<caption label="&https-everywhere.about.thanks;" />
3939
<label>Many many contributors, including Alec Moskvin, Alex Xu, Chris
4040
Palmer, Claudio Moretti, Daniel Kahn Gillmor, Felix Geyer, Heiko Adams,
4141
Jeroen van der Gun, Jorge Bernal, katmagic, Micah Lee, Ori Avtalion,
@@ -44,16 +44,16 @@
4444
</groupbox>
4545

4646
<label style="font-weight:bold; margin-top:10px;">
47-
If you like HTTPS Everywhere, you might consider
47+
&https-everywhere.about.countribute;
4848
<label id="donate link"
49-
value="Donating to Tor"
49+
value="&https-everywhere.about.donate_tor;"
5050
style="color: blue; cursor:hand; text-decoration:underline; font-style:bold"
5151
onmouseover="event.target.style.cursor='pointer'"
5252
onmouseout="event.target.style.cursor='default'"
5353
onclick="window_opener('https://www.torproject.org/donate/donate.html.en')"/>
5454
or
5555
<label id="donate link2"
56-
value="Donating to EFF"
56+
value="&https-everywhere.about.donate_eff;"
5757
style="color: blue; cursor:hand; text-decoration:underline; font-style:bold"
5858
onmouseover="event.target.style.cursor='pointer'"
5959
onmouseout="event.target.style.cursor='default'"

src/chrome/content/preferences.xul

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@
1919

2020
<script type="application/x-javascript" src="preferences.js"/>
2121
<groupbox flex="1">
22-
<caption label="Which HTTPS redirection rules should apply?"
22+
<caption label="&https-everywhere.prefs.list_caption;"
2323
align="center"/>
2424
<vbox>
2525
&https-everywhere.prefs.search;: <textbox id="tree_search" oninput="treeView.search(this);" />
2626
</vbox>
2727
<tree id="sites_tree" style="1" rows="20" editable="true" flex="1">
2828
<treecols>
29-
<treecol id="enabled_col" type="checkbox" label="Enabled"
29+
<treecol id="enabled_col" type="checkbox" label="&https-everywhere.prefs.enabled;"
3030
editable="true" />
31-
<treecol id="site_col" label="Site" flex="1" editable="false" />
32-
<treecol id="note_col" label="Notes" flex="1" editable="false" />
31+
<treecol id="site_col" label="&https-everywhere.prefs.site;" flex="1" editable="false" />
32+
<treecol id="note_col" label="&https-everywhere.prefs.notes;" flex="1" editable="false" />
3333
</treecols>
3434
<treechildren/>
3535
</tree>
3636
</groupbox>
3737
<separator class="thin"/>
3838
<vbox>
39-
You can learn how to write your own rulesets (to add support for other web sites)
39+
&https-everywhere.prefs.ruleset_howto;
4040
<separator class="thin"/>
4141
<label id="ruleset link"
42-
value="here"
42+
value="&https-everywhere.prefs.here_link;"
4343
style="color: blue; cursor:hand; text-decoration:underline;"
4444
onmouseover="event.target.style.cursor='pointer'"
4545
onmouseout="event.target.style.cursor='default'"

src/chrome/content/toolbar_button.xul

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<toolbarbutton
1818
id="https-everywhere-button"
1919
class="toolbarbutton-1 chromeclass-toolbar-additional"
20-
tooltiptext="HTTPS Everywhere"
20+
tooltiptext="&https-everywhere.about.ext_name;"
2121
context="https-everywhere-context-menu"
2222
buttonstyle="pictures"
2323
type="menu">

src/chrome/locale/en/https-everywhere.dtd

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,20 @@
33
<!ENTITY https-everywhere.prefs.disable_all "Disable All">
44
<!ENTITY https-everywhere.prefs.reset_defaults "Reset to Defaults">
55
<!ENTITY https-everywhere.prefs.search "Search">
6+
<!ENTITY https-everywhere.prefs.site "Site">
7+
<!ENTITY https-everywhere.prefs.notes "Notes">
8+
<!ENTITY https-everywhere.prefs.list_caption "Which HTTPS redirection rules should apply?">
9+
<!ENTITY https-everywhere.prefs.enabled "Enabled">
10+
<!ENTITY https-everywhere.prefs.ruleset_howto "You can learn how to write your own rulesets (to add support for other web sites)">
11+
<!ENTITY https-everywhere.prefs.here_link "here">
12+
<!ENTITY https-everywhere.about.title "About HTTPS Everywhere">
13+
<!ENTITY https-everywhere.about.ext_name "HTTPS Everywhere">
14+
<!ENTITY https-everywhere.about.ext_description "Encrypt the Web! Automatically use HTTPS security on many sites.">
15+
<!ENTITY https-everywhere.about.version "Version">
16+
<!ENTITY https-everywhere.about.created_by "Created by">
17+
<!ENTITY https-everywhere.about.librarians "Ruleset Librarians">
18+
<!ENTITY https-everywhere.about.thanks "Thanks to">
19+
<!ENTITY https-everywhere.about.countribute "If you like HTTPS Everywhere, you might consider">
20+
<!ENTITY https-everywhere.about.donate_tor "Donating to Tor">
21+
<!ENTITY https-everywhere.about.tor_lang_code "en">
22+
<!ENTITY https-everywhere.about.donate_eff "Donating to EFF">

0 commit comments

Comments
 (0)