Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n enhancements, added German translations #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added languages/gmm-de_DE.mo
Binary file not shown.
151 changes: 151 additions & 0 deletions languages/gmm-de_DE.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# 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 Genesis Mobile Menu Plugin package.
#
# Weitere deutsche Sprachdateien fuer Genesis Framework, Genesis Child Themes und Genesis Plugins
# sowie WordPress Plugins und Themes sind hier zu finden:
# --> http://deckerweb.de/sprachdateien/
#
msgid ""
msgstr ""
"Project-Id-Version: Genesis Mobile Menu Beta v0.1.1\n"
"Report-Msgid-Bugs-To: http://deckerweb.de/kontakt/\n"
"POT-Creation-Date: 2013-05-27 08:28:41+0000\n"
"PO-Revision-Date: 2013-05-27 11:17+0100\n"
"Last-Translator: David Decker <[email protected]>\n"
"Language-Team: DECKERWEB -- http://deckerweb.de/kontakt/\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-Generator: Poedit 1.5.4\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"
"Language: de_DE\n"
"X-Poedit-SearchPath-0: .\n"

# @ gmm
#: lib/admin.php:35 plugin.php:93
msgid "Mobile Menu"
msgstr "Mobiles Menü"

# @ gmm
#: lib/admin.php:40
msgid "Use Fail Safe Mode?"
msgstr "Abgesicherten Modus verwenden?"

# @ gmm
#: lib/admin.php:43
msgid "Mobile Menu Type"
msgstr "Art des mobilen Menüs"

# @ gmm
#: lib/admin.php:45
msgid "Please Select Mobile Menu Type"
msgstr "--- Art des mobilen Menüs wählen ---"

# @ gmm
#: lib/admin.php:46
msgid "Select Menu"
msgstr "Aufklappmenü (Select)"

# @ gmm
#: lib/admin.php:47
msgid "Collapsed Menu"
msgstr "Eingeklapptes Menü (Collapsed)"

# @ gmm
#: lib/admin.php:48
msgid "Alternate Menu"
msgstr "Alternatives Menü"

# @ gmm
#: lib/admin.php:52
msgid "Mobile Menu Position"
msgstr "Position des mobilen Menüs"

# @ gmm
#: lib/admin.php:54
msgid "Please Select Mobile Menu Position"
msgstr "--- Position des mobilen Menüs wählen ---"

# @ gmm
#: lib/admin.php:55
msgid "Replace Primary Menu"
msgstr "Haupt-Navigation (Primary) ersetzen"

# @ gmm
#: lib/admin.php:56
msgid "Replace Secondary Menu"
msgstr "Zweit-Navigation (Secondary) ersetzen"

# @ gmm
#: lib/menus/collapse-menu.php:16 lib/menus/collapse-menu.php:55
#: lib/menus/collapse-menu.php:80
msgid "Show Menu"
msgstr "Menü anzeigen"

# @ gmm
#: lib/menus/collapse-menu.php:17
msgid "Hide Menu"
msgstr "Menü ausblenden"

# @ gmm
#: lib/menus/select-menu.php:44 lib/menus/select-menu.php:71
msgid "Primary Navigation"
msgstr "Navigation:"

# @ gmm
#. translators: plugin header field 'Name'
#: plugin.php:0
msgid "Genesis Mobile Menu Beta"
msgstr "Genesis Mobiles Menü Beta"

# @ gmm
#. translators: plugin header field 'PluginURI'
#. translators: plugin header field 'AuthorURI'
#: plugin.php:0
msgid "http://DesignsByNicktheGeek.com"
msgstr "http://DesignsByNicktheGeek.com/"

# @ gmm
#. translators: plugin header field 'Description'
#: plugin.php:0
msgid "Add mobile menu to Genesis child themes"
msgstr "Ein mobiles Menü für Genesis Child Themes hinzufügen."

# @ gmm
#. translators: plugin header field 'Author'
#: plugin.php:0
msgid "Nick_theGeek"
msgstr "Nick_theGeek"

# @ gmm
#. translators: plugin header field 'Version'
#: plugin.php:0
msgid "0.1.1"
msgstr "0.1.1"

# @ gmm
#: plugin.php:28
msgid "Sorry, you are not allowed to access this page directly."
msgstr ""
"Entschuldigung, aber Sie können auf diese Seite nicht direkt zugreifen."

# @ gmm
#: plugin.php:49
#, php-format
msgid "Sorry, you can't activate unless you have installed %1$sGenesis%2$s"
msgstr ""
"Hinweis: Um dieses Plugin aktivieren zu können, müssen Sie zuerst das "
"%1$sGenesis Framework%2$s installiert haben."

# @ gmm
#: plugin.php:56
#, php-format
msgid "Sorry, you can't activate without %1$sGenesis %2$s%3$s or greater"
msgstr ""
"Hinweis: Sie können das Plugin nur aktivieren, wenn Sie das %1$sGenesis "
"Framework %2$s%3$s oder höher installiert haben."
99 changes: 99 additions & 0 deletions languages/gmm.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# This file is distributed under the same license as the Genesis Mobile Menus package.
msgid ""
msgstr ""
"PO-Revision-Date: 2013-05-27 09:12:34+0000\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-Generator: GlotPress/0.1\n"
"Project-Id-Version: Genesis Mobile Menus\n"

#: lib/admin.php:35 plugin.php:93
msgid "Mobile Menu"
msgstr ""

#: lib/admin.php:40
msgid "Use Fail Safe Mode?"
msgstr ""

#: lib/admin.php:43
msgid "Mobile Menu Type"
msgstr ""

#: lib/admin.php:45
msgid "Please Select Mobile Menu Type"
msgstr ""

#: lib/admin.php:46
msgid "Select Menu"
msgstr ""

#: lib/admin.php:47
msgid "Collapsed Menu"
msgstr ""

#: lib/admin.php:48
msgid "Alternate Menu"
msgstr ""

#: lib/admin.php:52
msgid "Mobile Menu Position"
msgstr ""

#: lib/admin.php:54
msgid "Please Select Mobile Menu Position"
msgstr ""

#: lib/admin.php:55
msgid "Replace Primary Menu"
msgstr ""

#: lib/admin.php:56
msgid "Replace Secondary Menu"
msgstr ""

#: lib/menus/collapse-menu.php:16 lib/menus/collapse-menu.php:55
#: lib/menus/collapse-menu.php:80
msgid "Show Menu"
msgstr ""

#: lib/menus/collapse-menu.php:17
msgid "Hide Menu"
msgstr ""

#: lib/menus/select-menu.php:44 lib/menus/select-menu.php:71
msgid "Primary Navigation"
msgstr ""

#: plugin.php:0
msgid "Genesis Mobile Menu Beta"
msgstr ""

#: plugin.php:0
msgid "http://DesignsByNicktheGeek.com"
msgstr ""

#: plugin.php:0
msgid "Add mobile menu to Genesis child themes"
msgstr ""

#: plugin.php:0
msgid "Nick_theGeek"
msgstr ""

#: plugin.php:0
msgid "0.1.1"
msgstr ""

#: plugin.php:28
msgid "Sorry, you are not allowed to access this page directly."
msgstr ""

#: plugin.php:49
msgid "Sorry, you can't activate unless you have installed %1$sGenesis%2$s"
msgstr ""

#: plugin.php:56
msgid "Sorry, you can't activate without %1$sGenesis %2$s%3$s or greater"
msgstr ""
99 changes: 99 additions & 0 deletions languages/gmm.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# This file is distributed under the same license as the Genesis Mobile Menus package.
msgid ""
msgstr ""
"PO-Revision-Date: 2013-05-27 09:12:34+0000\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-Generator: GlotPress/0.1\n"
"Project-Id-Version: Genesis Mobile Menus\n"

#: lib/admin.php:35 plugin.php:93
msgid "Mobile Menu"
msgstr ""

#: lib/admin.php:40
msgid "Use Fail Safe Mode?"
msgstr ""

#: lib/admin.php:43
msgid "Mobile Menu Type"
msgstr ""

#: lib/admin.php:45
msgid "Please Select Mobile Menu Type"
msgstr ""

#: lib/admin.php:46
msgid "Select Menu"
msgstr ""

#: lib/admin.php:47
msgid "Collapsed Menu"
msgstr ""

#: lib/admin.php:48
msgid "Alternate Menu"
msgstr ""

#: lib/admin.php:52
msgid "Mobile Menu Position"
msgstr ""

#: lib/admin.php:54
msgid "Please Select Mobile Menu Position"
msgstr ""

#: lib/admin.php:55
msgid "Replace Primary Menu"
msgstr ""

#: lib/admin.php:56
msgid "Replace Secondary Menu"
msgstr ""

#: lib/menus/collapse-menu.php:16 lib/menus/collapse-menu.php:55
#: lib/menus/collapse-menu.php:80
msgid "Show Menu"
msgstr ""

#: lib/menus/collapse-menu.php:17
msgid "Hide Menu"
msgstr ""

#: lib/menus/select-menu.php:44 lib/menus/select-menu.php:71
msgid "Primary Navigation"
msgstr ""

#: plugin.php:0
msgid "Genesis Mobile Menu Beta"
msgstr ""

#: plugin.php:0
msgid "http://DesignsByNicktheGeek.com"
msgstr ""

#: plugin.php:0
msgid "Add mobile menu to Genesis child themes"
msgstr ""

#: plugin.php:0
msgid "Nick_theGeek"
msgstr ""

#: plugin.php:0
msgid "0.1.1"
msgstr ""

#: plugin.php:28
msgid "Sorry, you are not allowed to access this page directly."
msgstr ""

#: plugin.php:49
msgid "Sorry, you can't activate unless you have installed %1$sGenesis%2$s"
msgstr ""

#: plugin.php:56
msgid "Sorry, you can't activate without %1$sGenesis %2$s%3$s or greater"
msgstr ""
8 changes: 4 additions & 4 deletions lib/menus/collapse-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function gmm_enqueue_select_scripts() {
wp_enqueue_script( 'gmm_collapse_script', GMM_LIB_URL . 'js/nav.toggle.js' , array( 'jquery' ), '0.1', true );

$translation_array = array(
'show_text' => __( 'Show Menu' ),
'hide_text' => __( 'Hide Menu' )
'show_text' => __( 'Show Menu', 'gmm' ),
'hide_text' => __( 'Hide Menu', 'gmm' )
);

wp_localize_script( 'gmm_collapse_script', 'gmm_text', $translation_array );
Expand Down Expand Up @@ -52,7 +52,7 @@ function gmm_do_mobile_collapse_nav( $nav_output, $nav, $args ) {
);

$mobile_menu = wp_nav_menu( $args );
$mobile_nav = sprintf ( '<div id="gmm-menu-toggle" class="menu-toggle primary-menu-toggle gmm-menu"><a class="toggle-switch show" href="#"><span>%s</span></a>%s</div>', __( 'Show Menu', 'fluid' ), $mobile_menu );
$mobile_nav = sprintf ( '<div id="gmm-menu-toggle" class="menu-toggle primary-menu-toggle gmm-menu"><a class="toggle-switch show" href="#"><span>%s</span></a>%s</div>', __( 'Show Menu', 'gmm' ), $mobile_menu );
$nav = genesis_get_option( 'gmm_fail_safe' ) ? $nav : '';
$pattern = genesis_markup( '<nav class="primary">%3$s%2$s%1$s%4$s</nav>', '<div id="nav">%3$s%2$s%1$s%4$s</div>', 0 );

Expand All @@ -77,7 +77,7 @@ function gmm_do_mobile_collapse_subnav( $nav_output, $nav, $args ) {
);

$mobile_menu = wp_nav_menu( $args );
$mobile_nav = sprintf ( '<div id="gmm-menu-toggle" class="menu-toggle secondary-menu-toggle gmm-menu"><a class="toggle-switch show" href="#"><span>%s</span></a>%s</div>', __( 'Show Menu', 'fluid' ), $mobile_menu );
$mobile_nav = sprintf ( '<div id="gmm-menu-toggle" class="menu-toggle secondary-menu-toggle gmm-menu"><a class="toggle-switch show" href="#"><span>%s</span></a>%s</div>', __( 'Show Menu', 'gmm' ), $mobile_menu );
$nav = genesis_get_option( 'gmm_fail_safe' ) ? $nav : '';
$pattern = genesis_markup( '<nav class="secondary">%3$s%2$s%1$s%4$s</nav>', '<div id="subnav">%3$s%2$s%1$s%4$s</div>', 0 );

Expand Down
2 changes: 2 additions & 0 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
Author: Nick_theGeek
Author URI: http://DesignsByNicktheGeek.com
Description: Add mobile menu to Genesis child themes
Text Domain: gmm
Domain Path: /languages/
*/

/*
Expand Down