summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronestone <onestone>2006-12-18 13:40:37 +0000
committeronestone <onestone>2006-12-18 13:40:37 +0000
commit6b3607d9d78a74bcc1eaf98b033e7127cedb7f54 (patch)
tree6a4b776ae2b20702d8fca4ed71db177e5ac06bad
parentcf18e40e8ec251d66d29cdc31e6e79318b8e51f7 (diff)
downloadaquamarine-6b3607d9d78a74bcc1eaf98b033e7127cedb7f54.tar.gz
aquamarine-6b3607d9d78a74bcc1eaf98b033e7127cedb7f54.tar.bz2
aquamarine: added translation support
-rw-r--r--po/Makefile.am1
-rw-r--r--po/aquamarine.pot136
-rw-r--r--src/decorator.cpp5
3 files changed, 140 insertions, 2 deletions
diff --git a/po/Makefile.am b/po/Makefile.am
new file mode 100644
index 0000000..0fa209c
--- /dev/null
+++ b/po/Makefile.am
@@ -0,0 +1 @@
+POFILES = AUTO
diff --git a/po/aquamarine.pot b/po/aquamarine.pot
new file mode 100644
index 0000000..ebceee1
--- /dev/null
+++ b/po/aquamarine.pot
@@ -0,0 +1,136 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2006-12-18 14:19+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: aquamarine.cpp:64
+msgid "Aquamarine"
+msgstr ""
+
+#: aquamarine.cpp:65
+msgid "KDE Window Decorator for Beryl"
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 7
+#: rc.cpp:3
+#, no-c-format
+msgid "Whether to draw drop shadows."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 11
+#: rc.cpp:6
+#, no-c-format
+msgid "Shadow radius for windows."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 17
+#: rc.cpp:9
+#, no-c-format
+msgid "Shadow Color."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 21
+#: rc.cpp:12
+#, no-c-format
+msgid "Shadow opacity (darkness)."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 27
+#: rc.cpp:15
+#, no-c-format
+msgid "Shadow X offset (distance)."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 31
+#: rc.cpp:18
+#, no-c-format
+msgid "Shadow Y offset (distance)."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 35
+#: rc.cpp:21
+#, no-c-format
+msgid "Active decoration opacity."
+msgstr ""
+
+#. i18n: file aquamarine.kcfg line 41
+#: rc.cpp:24
+#, no-c-format
+msgid "Inactive decoration opacity."
+msgstr ""
+
+#: window.cpp:327
+msgid "Keep &Above Others"
+msgstr ""
+
+#: window.cpp:330
+msgid "Keep &Below Others"
+msgstr ""
+
+#: window.cpp:333
+msgid "&Fullscreen"
+msgstr ""
+
+#: window.cpp:336
+msgid "Ad&vanced"
+msgstr ""
+
+#: window.cpp:344
+msgid "On all Viewports"
+msgstr ""
+
+#: window.cpp:350
+msgid "Move to Viewport %1"
+msgstr ""
+
+#: window.cpp:353
+msgid "To Viewport"
+msgstr ""
+
+#: window.cpp:355
+msgid "&Move"
+msgstr ""
+
+#: window.cpp:357
+msgid "Re&size"
+msgstr ""
+
+#: window.cpp:359
+msgid "Mi&nimize"
+msgstr ""
+
+#: window.cpp:360
+msgid "Ma&ximize"
+msgstr ""
+
+#: window.cpp:361
+msgid "Sh&ade"
+msgstr ""
+
+#: window.cpp:388
+msgid "Opacity"
+msgstr ""
+
+#: window.cpp:389
+msgid "Brightness"
+msgstr ""
+
+#: window.cpp:391
+msgid "Saturation"
+msgstr ""
+
+#: window.cpp:394
+msgid "Reset settings"
+msgstr ""
diff --git a/src/decorator.cpp b/src/decorator.cpp
index ff101fd..6e6fcd0 100644
--- a/src/decorator.cpp
+++ b/src/decorator.cpp
@@ -104,8 +104,9 @@ m_activeWindow (0),
m_config (0),
m_kwinmodule (new KWinModule (this, KWinModule::INFO_ALL)), m_switcher (0)
{
- delete KGlobal::_locale;
- KGlobal::_locale = new KLocale( "kwin" , NULL );
+// delete KGlobal::_locale;
+// KGlobal::_locale = new KLocale( "kwin" , NULL );
+ KGlobal::locale()->insertCatalogue("kwin");
ready = false;
m_restart = false;