From 728001947ae76ce745bb3d9ec2fc51c0882480bb Mon Sep 17 00:00:00 2001 From: David Decker Date: Fri, 4 Jan 2013 11:42:03 +0100 Subject: [PATCH] Improved i18n, added German translations. --- blazer-six-gist-oembed.php | 5 +- languages/blazersix-gist-oembed-de_DE.mo | Bin 0 -> 2829 bytes languages/blazersix-gist-oembed-de_DE.po | 132 ++++++++++++++++++++++ languages/blazersix-gist-oembed.pot | 133 +++++++++++++++++++++++ 4 files changed, 268 insertions(+), 2 deletions(-) create mode 100644 languages/blazersix-gist-oembed-de_DE.mo create mode 100644 languages/blazersix-gist-oembed-de_DE.po create mode 100644 languages/blazersix-gist-oembed.pot diff --git a/blazer-six-gist-oembed.php b/blazer-six-gist-oembed.php index e5b5a65..6e841da 100644 --- a/blazer-six-gist-oembed.php +++ b/blazer-six-gist-oembed.php @@ -18,6 +18,7 @@ * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.html * Text Domain: blazersix-gist-oembed + * Domain Path: /languages/ */ // Instantiate main plugin class @@ -44,8 +45,8 @@ function blazersix_gist_oembed_localization() { $domain = 'blazersix-gist-oembed'; // The "plugin_locale" filter is also used in load_plugin_textdomain() $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); - load_textdomain( $domain, WP_LANG_DIR . '/blazer-six-gist-oembed/' . $domain . '-' . $locale . '.mo' ); - load_plugin_textdomain( $domain, false, plugin_dir_path( __FILE__ ) . 'languages/' ); + load_textdomain( 'blazersix-gist-oembed', WP_LANG_DIR . '/blazer-six-gist-oembed/' . $domain . '-' . $locale . '.mo' ); + load_plugin_textdomain( 'blazersix-gist-oembed', false, dirname( plugin_basename( __FILE__ ) ) . 'languages/' ); } add_action( 'init', 'blazersix_gist_oembed_init' ); diff --git a/languages/blazersix-gist-oembed-de_DE.mo b/languages/blazersix-gist-oembed-de_DE.mo new file mode 100644 index 0000000000000000000000000000000000000000..f6517831bb1090744bdf8d7a14a97092b81023b9 GIT binary patch literal 2829 zcmcJR&yN&E6vt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ix-gist-oembed-de_DE.po b/languages/blazersix-gist-oembed-de_DE.po new file mode 100644 index 0000000..47a5cfc --- /dev/null +++ b/languages/blazersix-gist-oembed-de_DE.po @@ -0,0 +1,132 @@ +# This German Language File: Copyright (C) 2013 by David Decker of deckerweb.de & genesisthemes.de +# This file is distributed under the same license as the Blazer Six Gist oEmbed Plugin package. +# +# Weitere deutsche Sprachdateien fuer WordPress-Plugins und -Themes finden Sie unter: +# --> http://deckerweb.de/sprachdateien/ +# +msgid "" +msgstr "" +"Project-Id-Version: Blazer Six Gist oEmbed v1.1.0\n" +"Report-Msgid-Bugs-To: http://deckerweb.de/kontakt/\n" +"POT-Creation-Date: 2013-01-04 10:07:55+0000\n" +"PO-Revision-Date: 2013-01-04 11:29+0100\n" +"Last-Translator: David Decker \n" +"Language-Team: DECKERWEB \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Poedit-Language: German\n" +"X-Poedit-Country: GERMANY\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n" +"X-Poedit-Basepath: ../\n" +"X-Textdomain-Support: yes\n" +"X-Poedit-SearchPath-0: .\n" + +#@ blazersix-gist-oembed +#. translators: plugin header field 'Name' +#: blazer-six-gist-oembed.php:0 +msgid "Blazer Six Gist oEmbed" +msgstr "Blazer Six Gist oEmbed" + +#@ blazersix-gist-oembed +#. translators: plugin header field 'PluginURI' +#: blazer-six-gist-oembed.php:0 +msgid "https://github.com/bradyvercher/wp-blazer-six-gist-oembed" +msgstr "https://github.com/bradyvercher/wp-blazer-six-gist-oembed" + +#@ blazersix-gist-oembed +#. translators: plugin header field 'Description' +#: blazer-six-gist-oembed.php:0 +msgid "Gist oEmbed and shortcode support with caching." +msgstr "Gist oEmbed und Shortcode-Unterstützung mit Caching." + +#@ blazersix-gist-oembed +#. translators: plugin header field 'Author' +#: blazer-six-gist-oembed.php:0 +msgid "Blazer Six" +msgstr "Blazer Six" + +#@ blazersix-gist-oembed +#. translators: plugin header field 'AuthorURI' +#: blazer-six-gist-oembed.php:0 +msgid "http://www.blazersix.com/" +msgstr "http://www.blazersix.com/" + +#@ blazersix-gist-oembed +#. translators: plugin header field 'Version' +#: blazer-six-gist-oembed.php:0 +msgid "1.1.0" +msgstr "1.1.0" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed-debug-bar-panel.php:42 +msgid "Gist oEmbed" +msgstr "Gist oEmbed" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:200 +msgid "Shortcode did not have a required id attribute." +msgstr "Der Shortcode weist kein erforderliches ID-Attribut auf." + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:209 +msgid "View this code snippet on GitHub." +msgstr "Diesen Codeschnipsel auf GitHub.com ansehen." + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:228 +msgid " (shortcode attribute)" +msgstr " (Shortcode-Attribut)" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:367 +msgid "Raw Source: Transient Cache" +msgstr "Originalquelle: Transient Cache" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:381 +msgid "Raw Source: Remote JSON Endpoint - " +msgstr "Originalquelle: Entfernter JSON Endpunkt - " + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:382 +msgid "Output Source: Processed the raw source." +msgstr "Ausgegebene Quelle: Die Originallquelle wurde verarbeitet." + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:401 +msgid "Raw Source: Post Meta Fallback" +msgstr "Originalquelle: Beitrags-Meta Fallback" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:402 +msgid "Output Source: Processed Raw Source" +msgstr "Ausgegebene Quelle: Verarbeitetete Originalquelle" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:404 +msgid "Remote call and transient failed and fallback was empty." +msgstr "Entfernter Aufruf und Transient schlugen fehl und der Fallback war leer." + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:410 +msgid "Output Source: Transient Cache" +msgstr "Ausgegebene Quelle: Transient Cache" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:413 +msgid "JSON Endpoint:" +msgstr "JSON Endpunkt:" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:414 +msgid "Raw Key (Transient & Post Meta):" +msgstr "Originalquellen-Schlüssel - Raw Key (Transient & Beitrags-Meta):" + +#@ blazersix-gist-oembed +#: class-blazer-six-gist-oembed.php:415 +msgid "Processed Output Key (Transient):" +msgstr "Verarbeiteter Ausgabe-Schlüssel (Transient):" + diff --git a/languages/blazersix-gist-oembed.pot b/languages/blazersix-gist-oembed.pot new file mode 100644 index 0000000..71b4bb5 --- /dev/null +++ b/languages/blazersix-gist-oembed.pot @@ -0,0 +1,133 @@ +# This German Language File: Copyright (C) 2013 by David Decker of deckerweb.de & genesisthemes.de +# This file is distributed under the same license as the Blazer Six Gist oEmbed Plugin package. +# +# Weitere deutsche Sprachdateien fuer WordPress-Plugins und -Themes finden Sie unter: +# --> http://deckerweb.de/sprachdateien/ +# +msgid "" +msgstr "" +"Project-Id-Version: Blazer Six Gist oEmbed v1.1.0\n" +"Report-Msgid-Bugs-To: http://deckerweb.de/kontakt/\n" +"POT-Creation-Date: 2013-01-04 10:07:55+0000\n" +"PO-Revision-Date: 2013-01-04 10:07:55+0000\n" +"Last-Translator: David Decker \n" +"Language-Team: DECKERWEB \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Poedit-Language: German\n" +"X-Poedit-Country: GERMANY\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n" +"X-Poedit-Basepath: ../\n" +"X-Poedit-Bookmarks: \n" +"X-Poedit-SearchPath-0: .\n" +"X-Textdomain-Support: yes" + +#. translators: plugin header field 'Name' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "Blazer Six Gist oEmbed" +msgstr "" + +#. translators: plugin header field 'PluginURI' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "https://github.com/bradyvercher/wp-blazer-six-gist-oembed" +msgstr "" + +#. translators: plugin header field 'Description' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "Gist oEmbed and shortcode support with caching." +msgstr "" + +#. translators: plugin header field 'Author' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "Blazer Six" +msgstr "" + +#. translators: plugin header field 'AuthorURI' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "http://www.blazersix.com/" +msgstr "" + +#. translators: plugin header field 'Version' +#: blazer-six-gist-oembed.php:0 +#@ blazersix-gist-oembed +msgid "1.1.0" +msgstr "" + +#: class-blazer-six-gist-oembed-debug-bar-panel.php:42 +#@ blazersix-gist-oembed +msgid "Gist oEmbed" +msgstr "" + +#: class-blazer-six-gist-oembed.php:200 +#@ blazersix-gist-oembed +msgid "Shortcode did not have a required id attribute." +msgstr "" + +#: class-blazer-six-gist-oembed.php:209 +#@ blazersix-gist-oembed +msgid "View this code snippet on GitHub." +msgstr "" + +#: class-blazer-six-gist-oembed.php:228 +#@ blazersix-gist-oembed +msgid " (shortcode attribute)" +msgstr "" + +#: class-blazer-six-gist-oembed.php:367 +#@ blazersix-gist-oembed +msgid "Raw Source: Transient Cache" +msgstr "" + +#: class-blazer-six-gist-oembed.php:381 +#@ blazersix-gist-oembed +msgid "Raw Source: Remote JSON Endpoint - " +msgstr "" + +#: class-blazer-six-gist-oembed.php:382 +#@ blazersix-gist-oembed +msgid "Output Source: Processed the raw source." +msgstr "" + +#: class-blazer-six-gist-oembed.php:401 +#@ blazersix-gist-oembed +msgid "Raw Source: Post Meta Fallback" +msgstr "" + +#: class-blazer-six-gist-oembed.php:402 +#@ blazersix-gist-oembed +msgid "Output Source: Processed Raw Source" +msgstr "" + +#: class-blazer-six-gist-oembed.php:404 +#@ blazersix-gist-oembed +msgid "Remote call and transient failed and fallback was empty." +msgstr "" + +#: class-blazer-six-gist-oembed.php:410 +#@ blazersix-gist-oembed +msgid "Output Source: Transient Cache" +msgstr "" + +#: class-blazer-six-gist-oembed.php:413 +#@ blazersix-gist-oembed +msgid "JSON Endpoint:" +msgstr "" + +#: class-blazer-six-gist-oembed.php:414 +#@ blazersix-gist-oembed +msgid "Raw Key (Transient & Post Meta):" +msgstr "" + +#: class-blazer-six-gist-oembed.php:415 +#@ blazersix-gist-oembed +msgid "Processed Output Key (Transient):" +msgstr "" +