From 983108efc46732f84e212ef548b20bc2fea993f4 Mon Sep 17 00:00:00 2001 From: Poum Date: Sat, 26 Sep 2015 22:44:13 +0200 Subject: [PATCH] Add I18N --- chrome.manifest | 3 +++ chrome/firefoxbutton.xul | 8 +++--- chrome/locale/en-US/firefoxbutton.dtd | 3 +++ chrome/locale/en-US/thunderbirdbutton.dtd | 2 ++ chrome/locale/fr-FR/firefoxbutton.dtd | 3 +++ chrome/locale/fr-FR/thunderbirdbutton.dtd | 2 ++ chrome/thunderbirdbutton.xul | 6 ++--- install.rdf | 31 +++++++++++++---------- 8 files changed, 37 insertions(+), 21 deletions(-) create mode 100644 chrome/locale/en-US/firefoxbutton.dtd create mode 100644 chrome/locale/en-US/thunderbirdbutton.dtd create mode 100644 chrome/locale/fr-FR/firefoxbutton.dtd create mode 100644 chrome/locale/fr-FR/thunderbirdbutton.dtd diff --git a/chrome.manifest b/chrome.manifest index 0b8d7ae..7d7967e 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -1,5 +1,8 @@ content gtgtask chrome/ +locale gtgtask en-US chrome/locale/en-US/ +locale gtgtask fr-FR chrome/locale/fr-FR/ + # Firefox overlay chrome://browser/content/browser.xul chrome://gtgtask/content/firefoxbutton.xul diff --git a/chrome/firefoxbutton.xul b/chrome/firefoxbutton.xul index f05a528..c45269c 100644 --- a/chrome/firefoxbutton.xul +++ b/chrome/firefoxbutton.xul @@ -1,7 +1,7 @@ - + @@ -14,14 +14,14 @@ - + diff --git a/chrome/locale/en-US/firefoxbutton.dtd b/chrome/locale/en-US/firefoxbutton.dtd new file mode 100644 index 0000000..c19da44 --- /dev/null +++ b/chrome/locale/en-US/firefoxbutton.dtd @@ -0,0 +1,3 @@ + + + diff --git a/chrome/locale/en-US/thunderbirdbutton.dtd b/chrome/locale/en-US/thunderbirdbutton.dtd new file mode 100644 index 0000000..8701343 --- /dev/null +++ b/chrome/locale/en-US/thunderbirdbutton.dtd @@ -0,0 +1,2 @@ + + diff --git a/chrome/locale/fr-FR/firefoxbutton.dtd b/chrome/locale/fr-FR/firefoxbutton.dtd new file mode 100644 index 0000000..4464caa --- /dev/null +++ b/chrome/locale/fr-FR/firefoxbutton.dtd @@ -0,0 +1,3 @@ + + + diff --git a/chrome/locale/fr-FR/thunderbirdbutton.dtd b/chrome/locale/fr-FR/thunderbirdbutton.dtd new file mode 100644 index 0000000..201f882 --- /dev/null +++ b/chrome/locale/fr-FR/thunderbirdbutton.dtd @@ -0,0 +1,2 @@ + + diff --git a/chrome/thunderbirdbutton.xul b/chrome/thunderbirdbutton.xul index 7ef308e..0b0e4ad 100644 --- a/chrome/thunderbirdbutton.xul +++ b/chrome/thunderbirdbutton.xul @@ -1,7 +1,7 @@ - + @@ -10,8 +10,8 @@ diff --git a/install.rdf b/install.rdf index c904301..54e0ff7 100644 --- a/install.rdf +++ b/install.rdf @@ -1,18 +1,21 @@ - + + gtg@fritalk.com + GTG Task Button + Easily transform a page into a task for Getting Things GNOME! with a single click." + Izidor Matušov + 1.3 + http://gtgnome.net + chrome://gtgtask/content/icon.png + + + fr-FR + GTG Task Button + Transforme d'un simple clic une page ou un email en tâche pour Getting Things GNOME! + + true @@ -23,13 +26,13 @@ + em:minVersion="3.0" em:maxVersion="42.0" /> + em:minVersion="3.0" em:maxVersion="32.0" />