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

Add languages #9

Open
wants to merge 1 commit 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
6 changes: 3 additions & 3 deletions includes/FacebookLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ public static function render_settings_instructions(){
<span><?= __('Получить реквизиты для доступа можно по ссылке: ', 'socialify') ?></span>
<a href="https://developers.facebook.com/apps/" target="_blank">https://developers.facebook.com/apps/</a>
</li>
<li>В поле Callback URI запишите: <code><?= self::$endpoint ?></code></li>
<li>Ссылка на сайт: <code><?= site_url() ?></code></li>
<li>Домен если потребуется: <code><?= $_SERVER['SERVER_NAME'] ?></code></li>
<li><?= __('В поле Callback URI запишите:', 'socialify'); ?> <code><?= self::$endpoint ?></code></li>
<li><?= __('Ссылка на сайт:', 'socialify'); ?> <code><?= site_url() ?></code></li>
<li><?= __('Домен если потребуется:', 'socialify'); ?> <code><?= $_SERVER['SERVER_NAME'] ?></code></li>
</ol>
<?php
}
Expand Down
6 changes: 3 additions & 3 deletions includes/GoogleLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ public static function render_settings_instructions(){
<span><?= __('Получить реквизиты для доступа можно по ссылке: ', 'socialify') ?></span>
<a href="https://console.developers.google.com/apis/credentials/" target="_blank">https://console.developers.google.com/apis/credentials</a>
</li>
<li>В поле Callback URI запишите: <code><?= self::$endpoint ?></code></li>
<li>Ссылка на сайт: <code><?= site_url() ?></code></li>
<li>Домен если потребуется: <code><?= $_SERVER['SERVER_NAME'] ?></code></li>
<li><?= __('В поле Callback URI запишите:', 'socialify'); ?> <code><?= self::$endpoint ?></code></li>
<li><?= __('Ссылка на сайт:', 'socialify'); ?> <code><?= site_url() ?></code></li>
<li><?= __('Домен если потребуется:', 'socialify'); ?> <code><?= $_SERVER['SERVER_NAME'] ?></code></li>
</ol>
<?php
}
Expand Down
2 changes: 1 addition & 1 deletion includes/ShortcodeLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static function add_settings(){

add_settings_field(
$setting_id = self::$option_name . '_login_page_show',
$setting_title = 'Показывать шорткод на странице авторизации',
$setting_title = __('Показывать шорткод на странице авторизации', 'socialify'),
$callback = function($args){
printf(
'<input type="checkbox" name="%s" value="1" %s>',
Expand Down
Binary file added languages/socialify-en.mo
Binary file not shown.
71 changes: 71 additions & 0 deletions languages/socialify-en.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
msgid ""
msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Project-Id-Version: Socialify\n"
"POT-Creation-Date: 2020-09-22 11:48+0200\n"
"PO-Revision-Date: 2020-09-22 11:51+0200\n"
"Language-Team: Patrick Groot <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.8\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-WPHeader: socialify.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Last-Translator: Patrick Groot <[email protected]>\n"
"Language: en\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"

#: includes/FacebookLogin.php:129 includes/GoogleLogin.php:139
msgid "Получить реквизиты для доступа можно по ссылке: "
msgstr "You can obtain access and details by clicking on the link: "

#: includes/FacebookLogin.php:132 includes/GoogleLogin.php:142
msgid "В поле Callback URI запишите:"
msgstr "Copy/paste Callback URL in your app settings:"

#: includes/FacebookLogin.php:133 includes/GoogleLogin.php:143
msgid "Ссылка на сайт:"
msgstr "Link to the website:"

#: includes/FacebookLogin.php:134 includes/GoogleLogin.php:144
msgid "Домен если потребуется:"
msgstr "Domain if required:"

#: includes/ShortcodeLogin.php:73
msgid "Shortcode"
msgstr "Shortcode"

#: includes/ShortcodeLogin.php:81
msgid "Показывать шорткод на странице авторизации"
msgstr "Show shortcode on the login page"

#: socialify.php:102
msgid "Settings"
msgstr "Settings"

#: socialify.php:295
msgid "Socialify Settings"
msgstr "Socialify Settings"

#. Plugin Name of the plugin/theme
msgid "Socialify"
msgstr "Socialify"

#. Plugin URI of the plugin/theme
msgid "https://github.com/uptimizt/socialify"
msgstr "https://github.com/uptimizt/socialify"

#. Description of the plugin/theme
msgid "Social Login for WordPress based the OAuth2 and HybridAuth"
msgstr "Social Login for WordPress based the OAuth2 and HybridAuth"

#. Author of the plugin/theme
msgid "uptimizt"
msgstr "uptimizt"

#. Author URI of the plugin/theme
msgid "https://github.com/uptimizt"
msgstr "https://github.com/uptimizt"
Binary file added languages/socialify-en_GB.mo
Binary file not shown.
73 changes: 73 additions & 0 deletions languages/socialify-en_GB.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
msgid ""
msgstr ""
"Project-Id-Version: Socialify\n"
"POT-Creation-Date: 2020-09-22 11:44+0200\n"
"PO-Revision-Date: 2020-09-22 11:44+0200\n"
"Last-Translator: Patrick Groot <[email protected]>\n"
"Language-Team: Patrick Groot <[email protected]>\n"
"Language: en_GB\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.8.8\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-WPHeader: socialify.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"

#: includes/FacebookLogin.php:129 includes/GoogleLogin.php:139
msgid "Получить реквизиты для доступа можно по ссылке: "
msgstr "You can obtain access and details by clicking on the link: "

#: includes/FacebookLogin.php:132 includes/GoogleLogin.php:142
msgid "В поле Callback URI запишите:"
msgstr "Copy/paste Callback URL in your app settings:"

#: includes/FacebookLogin.php:133 includes/GoogleLogin.php:143
msgid "Ссылка на сайт:"
msgstr "Link to the website:"

#: includes/FacebookLogin.php:134 includes/GoogleLogin.php:144
msgid "Домен если потребуется:"
msgstr "Domain if required:"

#: includes/ShortcodeLogin.php:73
msgid "Shortcode"
msgstr "Shortcode"

#: includes/ShortcodeLogin.php:81
msgid "Показывать шорткод на странице авторизации"
msgstr "Show shortcode on the login page"

#: socialify.php:102
msgid "Settings"
msgstr "Settings"

#: socialify.php:295
msgid "Socialify Settings"
msgstr "Socialify Settings"

#. Plugin Name of the plugin/theme
msgid "Socialify"
msgstr "Socialify"

#. Plugin URI of the plugin/theme
msgid "https://github.com/uptimizt/socialify"
msgstr "https://github.com/uptimizt/socialify"

#. Description of the plugin/theme
msgid "Social Login for WordPress based the OAuth2 and HybridAuth"
msgstr "Social Login for WordPress based the OAuth2 and HybridAuth"

#. Author of the plugin/theme
msgid "uptimizt"
msgstr "uptimizt"

#. Author URI of the plugin/theme
msgid "https://github.com/uptimizt"
msgstr "https://github.com/uptimizt"
Binary file added languages/socialify-en_US.mo
Binary file not shown.
71 changes: 71 additions & 0 deletions languages/socialify-en_US.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
msgid ""
msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Project-Id-Version: Socialify\n"
"POT-Creation-Date: 2020-09-22 11:51+0200\n"
"PO-Revision-Date: 2020-09-22 11:53+0200\n"
"Language-Team: Patrick Groot <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.8\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-WPHeader: socialify.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Last-Translator: Patrick Groot <[email protected]>\n"
"Language: en_US\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"

#: includes/FacebookLogin.php:129 includes/GoogleLogin.php:139
msgid "Получить реквизиты для доступа можно по ссылке: "
msgstr "Copy/paste Callback URL in your app settings:"

#: includes/FacebookLogin.php:132 includes/GoogleLogin.php:142
msgid "В поле Callback URI запишите:"
msgstr "Copy/paste Callback URL in your app settings:"

#: includes/FacebookLogin.php:133 includes/GoogleLogin.php:143
msgid "Ссылка на сайт:"
msgstr "Link to the website:"

#: includes/FacebookLogin.php:134 includes/GoogleLogin.php:144
msgid "Домен если потребуется:"
msgstr "Domain if required:"

#: includes/ShortcodeLogin.php:73
msgid "Shortcode"
msgstr "Shortcode"

#: includes/ShortcodeLogin.php:81
msgid "Показывать шорткод на странице авторизации"
msgstr "Show shortcode on the login page"

#: socialify.php:102
msgid "Settings"
msgstr "Settings"

#: socialify.php:295
msgid "Socialify Settings"
msgstr "Socialify Settings"

#. Plugin Name of the plugin/theme
msgid "Socialify"
msgstr "Socialify"

#. Plugin URI of the plugin/theme
msgid "https://github.com/uptimizt/socialify"
msgstr "https://github.com/uptimizt/socialify"

#. Description of the plugin/theme
msgid "Social Login for WordPress based the OAuth2 and HybridAuth"
msgstr "https://github.com/uptimizt/socialify"

#. Author of the plugin/theme
msgid "uptimizt"
msgstr "uptimizt"

#. Author URI of the plugin/theme
msgid "https://github.com/uptimizt"
msgstr "https://github.com/uptimizt"
Binary file added languages/socialify-nl_NL.mo
Binary file not shown.
73 changes: 73 additions & 0 deletions languages/socialify-nl_NL.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
msgid ""
msgstr ""
"Project-Id-Version: Socialify\n"
"POT-Creation-Date: 2020-09-22 11:44+0200\n"
"PO-Revision-Date: 2020-09-22 11:45+0200\n"
"Last-Translator: Patrick Groot <[email protected]>\n"
"Language-Team: Patrick Groot <[email protected]>\n"
"Language: nl_NL\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.8.8\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-WPHeader: socialify.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"

#: includes/FacebookLogin.php:129 includes/GoogleLogin.php:139
msgid "Получить реквизиты для доступа можно по ссылке: "
msgstr "U kunt de gegevens krijgen door op de link te klikken: "

#: includes/FacebookLogin.php:132 includes/GoogleLogin.php:142
msgid "В поле Callback URI запишите:"
msgstr "Kopieer/plak de Callback URL in de app instellingen:"

#: includes/FacebookLogin.php:133 includes/GoogleLogin.php:143
msgid "Ссылка на сайт:"
msgstr "Link naar de site:"

#: includes/FacebookLogin.php:134 includes/GoogleLogin.php:144
msgid "Домен если потребуется:"
msgstr "Domein indien nodig:"

#: includes/ShortcodeLogin.php:73
msgid "Shortcode"
msgstr "Shortcode"

#: includes/ShortcodeLogin.php:81
msgid "Показывать шорткод на странице авторизации"
msgstr "Toon shortcode op login pagina"

#: socialify.php:102
msgid "Settings"
msgstr "Instellingen"

#: socialify.php:295
msgid "Socialify Settings"
msgstr "Socialify Instellingen"

#. Plugin Name of the plugin/theme
msgid "Socialify"
msgstr "Socialify"

#. Plugin URI of the plugin/theme
msgid "https://github.com/uptimizt/socialify"
msgstr "https://github.com/uptimizt/socialify"

#. Description of the plugin/theme
msgid "Social Login for WordPress based the OAuth2 and HybridAuth"
msgstr "Social Login voor WordPress gebasseerd op OAuth2 en HybridAuth"

#. Author of the plugin/theme
msgid "uptimizt"
msgstr "uptimizt"

#. Author URI of the plugin/theme
msgid "https://github.com/uptimizt"
msgstr "https://github.com/uptimizt"
Loading