Skip to content

Commit

Permalink
Fixed Translation Process
Browse files Browse the repository at this point in the history
  • Loading branch information
kjbenk committed Apr 4, 2016
1 parent b1a9ded commit ad8e7bd
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 7 deletions.
10 changes: 5 additions & 5 deletions get-notified.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* Description: Get Notified is a simple to use notification plugin that notifies you of certain WordPress events.
* Author: Kyle Benk
* Author URI: https://kylebenk.com
* Version: 1.0.2
* Version: 1.0.3
* Text Domain: gnt
* Domain Path: languages
* Domain Path: /languages
*/

// Exit if accessed directly
Expand Down Expand Up @@ -95,13 +95,13 @@ private function setup_constants() {
// Plugin text domain

if ( ! defined( 'GET_NOTIFIED_TEXT_DOMAIN' ) ) {
define( 'GET_NOTIFIED_TEXT_DOMAIN', 'get-notified' );
define( 'GET_NOTIFIED_TEXT_DOMAIN', 'gnt' );
}

// Plugin version

if ( ! defined( 'GET_NOTIFIED_VERSION' ) ) {
define( 'GET_NOTIFIED_VERSION', '1.0.2' );
define( 'GET_NOTIFIED_VERSION', '1.0.3' );
}

// Plugin Folder Path
Expand Down Expand Up @@ -187,7 +187,7 @@ public function initial_setup() {
* @return void
*/
public function load_textdomain() {
load_textdomain( GET_NOTIFIED_TEXT_DOMAIN , dirname( plugin_basename( GET_NOTIFIED_PLUGIN_FILE ) ) . '/languages/' );
load_plugin_textdomain( 'gnt', false, basename( dirname( __FILE__ ) ) . '/languages/' );
}
}

Expand Down
134 changes: 134 additions & 0 deletions languages/gnt.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# Copyright (C) 2016 Get Notified
# This file is distributed under the same license as the Get Notified package.
msgid ""
msgstr ""
"Project-Id-Version: Get Notified 1.0.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/get-notified\n"
"POT-Creation-Date: 2016-04-04 15:54:59+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"

#. #-#-#-#-# plugin.pot (Get Notified 1.0.2) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: functions/admin-pages.php:14 functions/admin-pages.php:15
#: views/settings.php:2
msgid "Get Notified"
msgstr ""

#: functions/admin-pages.php:33 functions/admin-pages.php:34
#: functions/admin-pages.php:84
msgid "Information"
msgstr ""

#: functions/admin-pages.php:42 functions/admin-pages.php:43
msgid "Hooks"
msgstr ""

#: functions/admin-pages.php:51 functions/admin-pages.php:52
msgid "Integrations"
msgstr ""

#: functions/common.php:14
msgid "Settings"
msgstr ""

#: functions/hooks.php:66
msgid "Hook"
msgstr ""

#: functions/integrations.php:72
msgid "Integration"
msgstr ""

#: get-notified.php:66
msgid "You cannot __clone an instance of the Get_Notified class."
msgstr ""

#: get-notified.php:76
msgid "You cannot __wakeup an instance of the Get_Notified class."
msgstr ""

#: hooks/hooks-table.php:25
msgid "Name"
msgstr ""

#: hooks/hooks-table.php:26
msgid "Description"
msgstr ""

#: hooks/posts.php:50
msgid " changed status to "
msgstr ""

#: integrations/email.php:42 integrations/email.php:105
msgid "Email"
msgstr ""

#: integrations/email.php:110 integrations/slack.php:109
msgid "Enable"
msgstr ""

#: integrations/email.php:117
msgid "To Email"
msgstr ""

#: integrations/email.php:120
msgid ""
"What emails should get this notification? Use a comma separated list for "
"multiple emails."
msgstr ""

#: integrations/slack.php:35 integrations/slack.php:104
msgid "Slack"
msgstr ""

#: integrations/slack.php:116
msgid "Webhook URL"
msgstr ""

#: integrations/slack.php:119
msgid "Create a"
msgstr ""

#: integrations/slack.php:119
msgid "Slack Webhook"
msgstr ""

#: integrations/slack.php:119
msgid ""
"and then save the URL here. This Webhook will be used to send data to Slack."
msgstr ""

#: views/hooks.php:2
msgid "Post Status Hooks"
msgstr ""

#: views/settings.php:6
msgid "Notify When"
msgstr ""

#: views/settings.php:12
msgid "Post is Published"
msgstr ""

#. Plugin URI of the plugin/theme
msgid "https://github.com/kjbenk/get-notified"
msgstr ""

#. Description of the plugin/theme
msgid ""
"Get Notified is a simple to use notification plugin that notifies you of "
"certain WordPress events."
msgstr ""

#. Author of the plugin/theme
msgid "Kyle Benk"
msgstr ""

#. Author URI of the plugin/theme
msgid "https://kylebenk.com"
msgstr ""
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Get Notified ===
Contributors: kjbenk, wpmonty
Tags: notification, notify, email, message, ping, alert, slack, post, post status, status
Tags: notification, notify, email, message, ping, alert, slack, post, post status, status
Requires at least: 4.0
Tested up to: 4.4.2
Stable tag: 1.0.2
Stable tag: 1.0.3
License: GPLv2 or later

Get Notified is a simple to use notification plugin that notifies you of certain WordPress events.
Expand Down Expand Up @@ -38,6 +38,9 @@ https://github.com/kjbenk/get-notified/issues

== Changelog ==

= 1.0.3 = 2016-4-4
* FIXED: Translation Process

= 1.0.2 = 2016-2-25
* ADDED: Screenshots

Expand Down

0 comments on commit ad8e7bd

Please sign in to comment.