[Pkg-mozext-commits] [SCM] timeline extension for Icedove with iceowl branch, master, updated. debian/0.4.2-2-3-g2d59aa6
Matthias Schmitz
matthias at sigxcpu.org
Fri Apr 19 22:17:12 UTC 2013
The following commit has been merged in the master branch:
commit c62d577768fc70d2341f1fc9fc567b7ca91e3ca5
Author: Matthias Schmitz <matthias at sigxcpu.org>
Date: Fri Apr 19 23:46:23 2013 +0200
Enable localization / add de-DE translation
diff --git a/debian/patches/0004-Enable-localization-and-add-de-DE-as-first-translati.patch b/debian/patches/0004-Enable-localization-and-add-de-DE-as-first-translati.patch
new file mode 100644
index 0000000..3dcd002
--- /dev/null
+++ b/debian/patches/0004-Enable-localization-and-add-de-DE-as-first-translati.patch
@@ -0,0 +1,96 @@
+From: Matthias Schmitz <matthias at sigxcpu.org>
+Date: Fri, 19 Apr 2013 23:42:12 +0200
+Subject: Enable localization and add de-DE as first translation
+
+---
+ chrome.manifest | 1 +
+ chrome/content/timeline.xul | 16 +++++++++-------
+ chrome/locale/de-DE/overlay.dtd | 6 ++++++
+ chrome/locale/en-US/overlay.dtd | 7 ++++++-
+ 4 files changed, 22 insertions(+), 8 deletions(-)
+ create mode 100755 chrome/locale/de-DE/overlay.dtd
+
+diff --git a/chrome.manifest b/chrome.manifest
+index 1cfa942..22a6258 100755
+--- a/chrome.manifest
++++ b/chrome.manifest
+@@ -5,5 +5,6 @@ overlay chrome://calendar/content/calendar.xul chrome://calendartimeline/conten
+ overlay chrome://messenger/content/messenger.xul chrome://calendartimeline/content/timelineOverlay.xul
+
+ locale calendartimeline en-US chrome/locale/en-US/
++locale calendartimeline de-DE chrome/locale/de-DE/
+
+ skin calendartimeline classic/1.0 chrome/skin/
+diff --git a/chrome/content/timeline.xul b/chrome/content/timeline.xul
+index cf3224e..0bde3bf 100755
+--- a/chrome/content/timeline.xul
++++ b/chrome/content/timeline.xul
+@@ -1,7 +1,9 @@
+ <?xml version="1.0"?>
+ <?xml-stylesheet type="text/css" href="chrome://global/skin/global.css"?>
+ <?xml-stylesheet type="text/css" href="chrome://calendartimeline/skin/timeline.css"?>
+-
++
++<!DOCTYPE overlay SYSTEM "chrome://calendartimeline/locale/overlay.dtd" >
++
+ <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml" style="width:100%" onload="calendarTimeline.draw()">
+
+@@ -21,27 +23,27 @@
+ <menupopup id="timelineContext" onpopupshowing="calendarTimeline.timelineContextInit();">
+ <menuitem type="checkbox"
+ id="timelineContextEvents"
+- label="Toggle Events"
++ label="&calendartimeline.timelineContext.ShowEvents;"
+ oncommand="calendarTimeline.toggleTimelineContents('Events');"/>
+ <menuitem type="checkbox"
+ id="timelineContextAllDay"
+- label="Toggle All Day Events"
++ label="&calendartimeline.timelineContext.ShowAllDayEvents;"
+ oncommand="calendarTimeline.toggleTimelineContents('AllDay');"/>
+ <menuitem type="checkbox"
+ id="timelineContextTasks"
+- label="Toggle Tasks"
++ label="&calendartimeline.timelineContext.ShowTasks;"
+ oncommand="calendarTimeline.toggleTimelineContents('Tasks');"/>
+ <menuseparator/>
+ <menu id="timelineZoomMenu" label="Zoom">
+ <menupopup>
+ <menuitem id="timelineZoomIn"
+- label="Zoom In"
++ label="&calendartimeline.timelineContext.ZoomIn;"
+ oncommand="calendarTimeline.zoom(-1);"/>
+ <menuitem id="timelineZoomOut"
+- label="Zoom Out"
++ label="&calendartimeline.timelineContext.ZoomOut;"
+ oncommand="calendarTimeline.zoom(1);"/>
+ <menuitem id="timelineResetZoom"
+- label="Reset Zoom"
++ label="&calendartimeline.timelineContext.ResetZoom;"
+ oncommand="calendarTimeline.resetZoom();"/>
+ </menupopup>
+ </menu>
+diff --git a/chrome/locale/de-DE/overlay.dtd b/chrome/locale/de-DE/overlay.dtd
+new file mode 100755
+index 0000000..60eda94
+--- /dev/null
++++ b/chrome/locale/de-DE/overlay.dtd
+@@ -0,0 +1,6 @@
++<!ENTITY calendartimeline.timelineContext.ShowEvents "Termine anzeigen">
++<!ENTITY calendartimeline.timelineContext.ShowAllDayEvents "Ganztägige Termine anzeigen">
++<!ENTITY calendartimeline.timelineContext.ShowTasks "Aufgaben anzeigen">
++<!ENTITY calendartimeline.timelineContext.ZoomIn "Vergrößern">
++<!ENTITY calendartimeline.timelineContext.ZoomOut "Verkleinern">
++<!ENTITY calendartimeline.timelineContext.ResetZoom "Normal">
+diff --git a/chrome/locale/en-US/overlay.dtd b/chrome/locale/en-US/overlay.dtd
+index 8b13789..ef0fbef 100755
+--- a/chrome/locale/en-US/overlay.dtd
++++ b/chrome/locale/en-US/overlay.dtd
+@@ -1 +1,6 @@
+-
++<!ENTITY calendartimeline.timelineContext.ShowEvents "Show events">
++<!ENTITY calendartimeline.timelineContext.ShowAllDayEvents "Show allday events">
++<!ENTITY calendartimeline.timelineContext.ShowTasks "Show tasks">
++<!ENTITY calendartimeline.timelineContext.ZoomIn "Zoom In">
++<!ENTITY calendartimeline.timelineContext.ZoomOut "Zoom Out">
++<!ENTITY calendartimeline.timelineContext.ResetZoom "Reset Zoom">
diff --git a/debian/patches/series b/debian/patches/series
index 6527e69..ea51f6e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Add-iceowl-to-install.rdf.patch
0002-Remove-not-longer-supported-moz-css-tag.patch
0003-Set-initial-state-of-context-menu-checkboxes.patch
+0004-Enable-localization-and-add-de-DE-as-first-translati.patch
--
timeline extension for Icedove with iceowl
More information about the Pkg-mozext-commits
mailing list