Skip to content

Commit

Permalink
Merge branch 'locale'
Browse files Browse the repository at this point in the history
Conflicts:
	chrome/content/options.xul
	defaults/preferences/todo.txt-ext.js
  • Loading branch information
Roy Kokkelkoren committed Dec 8, 2015
2 parents 0e17f65 + b750770 commit 528b8d1
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
todotxt.xpi
todo.xpi
9 changes: 8 additions & 1 deletion chrome.manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
content todotxt chrome/content/
resource todotxt modules/

locale todotxt en-US chrome/locale/en-US/
locale todotxt de chrome/locale/de/
locale todotxt fr chrome/locale/fr/
locale todotxt nl chrome/locale/nl/

manifest components/calTodotxt.manifest
overlay chrome://lightning/content/messenger-overlay-sidebar.xul chrome://todotxt/content/todotxt.xul
overlay chrome://lightning/content/messenger-overlay-sidebar.xul chrome://todotxt/content/todotxt.xul

14 changes: 8 additions & 6 deletions chrome/content/options.xul
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0"?>
<!--
Google Tasks sync for Mozilla Thunderbird
-->

<!DOCTYPE window [
<!ENTITY % todotxt SYSTEM "chrome://todotxt/locale/options.dtd">
%todotxt;
]>

<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<setting pref="extensions.todotxt.todo-txt" type="file" title="Location of todo.txt file" />
<setting pref="extensions.todotxt.done-txt" type="file" title="Location of done.txt file" />
<setting pref="extensions.todotxt.thunderbird" type="bool" title="Use Thunderbird's functionality, such as categories and priorities." />
<setting pref="extensions.todotxt.todo-txt" type="file" title="&todotxt.todofile;" />
<setting pref="extensions.todotxt.done-txt" type="file" title="&todotxt.donefile;" />
<setting pref="extensions.todotxt.thunderbird" type="bool" title="&todotxt.thunderbird;" />
<setting pref="extensions.todotxt.creation" type="bool" title="Use the Todo's creation timestamp. "/>

</vbox>
3 changes: 3 additions & 0 deletions chrome/locale/de/options.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!ENTITY todotxt.todofile "Lage von Todo.txt">
<!ENTITY todotxt.donefile "Lage von Done.txt">
<!ENTITY todotxt.thunderbird "Benutzen Thunderbird's Funktionalität">
3 changes: 3 additions & 0 deletions chrome/locale/en-US/options.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!ENTITY todotxt.todofile "Location of Todo.txt">
<!ENTITY todotxt.donefile "Location of Done.txt">
<!ENTITY todotxt.thunderbird "Use Thunderbird's functionality">
3 changes: 3 additions & 0 deletions chrome/locale/fr/options.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!ENTITY todotxt.todofile "Lieu de Todo.txt">
<!ENTITY todotxt.donefile "Lieu de Done.txt">
<!ENTITY todotxt.thunderbird "Utilisez la fonctionnalité de Thunderbird">
3 changes: 3 additions & 0 deletions chrome/locale/nl/options.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!ENTITY todotxt.todofile "Locatie van het Todo.txt bestand">
<!ENTITY todotxt.donefile "Locatie van het Done.txt bestand">
<!ENTITY todotxt.thunderbird "Gebruik de functionaliteit van Thunderbird">
1 change: 1 addition & 0 deletions defaults/preferences/todo.txt-ext.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pref("extensions.todotxt.thunderbird", true);
pref("extensions.todotxt.creation", true);
pref("general.useragent.locale","en-US");

0 comments on commit 528b8d1

Please sign in to comment.