diff --git a/.gitignore b/.gitignore index dab022d..62e5773 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ todotxt.xpi +todo.xpi diff --git a/chrome.manifest b/chrome.manifest index 9e37baf..f90be61 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -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 + diff --git a/chrome/content/options.xul b/chrome/content/options.xul index 1efc916..d710b04 100644 --- a/chrome/content/options.xul +++ b/chrome/content/options.xul @@ -1,13 +1,15 @@ - + + + %todotxt; +]> - - - + + + diff --git a/chrome/locale/de/options.dtd b/chrome/locale/de/options.dtd new file mode 100644 index 0000000..9594885 --- /dev/null +++ b/chrome/locale/de/options.dtd @@ -0,0 +1,3 @@ + + + diff --git a/chrome/locale/en-US/options.dtd b/chrome/locale/en-US/options.dtd new file mode 100644 index 0000000..dd9f46a --- /dev/null +++ b/chrome/locale/en-US/options.dtd @@ -0,0 +1,3 @@ + + + diff --git a/chrome/locale/fr/options.dtd b/chrome/locale/fr/options.dtd new file mode 100644 index 0000000..ab043fa --- /dev/null +++ b/chrome/locale/fr/options.dtd @@ -0,0 +1,3 @@ + + + diff --git a/chrome/locale/nl/options.dtd b/chrome/locale/nl/options.dtd new file mode 100644 index 0000000..6f6d3ed --- /dev/null +++ b/chrome/locale/nl/options.dtd @@ -0,0 +1,3 @@ + + + diff --git a/defaults/preferences/todo.txt-ext.js b/defaults/preferences/todo.txt-ext.js index a167b0e..3d72083 100644 --- a/defaults/preferences/todo.txt-ext.js +++ b/defaults/preferences/todo.txt-ext.js @@ -1,2 +1,3 @@ pref("extensions.todotxt.thunderbird", true); pref("extensions.todotxt.creation", true); +pref("general.useragent.locale","en-US");