Remove languages folder and load_plugin_textdomain() as it is no longer needed
This commit is contained in:
parent
b195e2af3f
commit
9d958792e0
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -1,24 +0,0 @@
|
|||
# WordPress Blank Pot
|
||||
# Copyright (C) 2014 ...
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WordPress Blank Pot v1.0.0\n"
|
||||
"POT-Creation-Date: 2012-10-05 10:50+0100\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Your Name <you@example.com>\n"
|
||||
"Language-Team: Your Team <translations@example.com>\n"
|
||||
"Report-Msgid-Bugs-To: Translator Name <translations@example.com>\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-Textdomain-Support: yes"
|
||||
"X-Generator: Poedit 1.6.4\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-KeywordsList: __;_e;esc_html_e;esc_html_x:1,2c;esc_html__;esc_attr_e;esc_attr_x:1,2c;esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2;_n_noop:1,2;__ngettext:1,2;__ngettext_noop:1,2;_c,_nc:4c,1,2;\n"
|
||||
"X-Poedit-Basepath: ../\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-Language: English\n"
|
||||
"X-Poedit-Country: UNITED STATES\n"
|
||||
"X-Poedit-Bookmarks: \n"
|
|
@ -27,11 +27,6 @@ function tnc_enable_dev_wp_interface() {
|
|||
return defined('TNC_ENABLE_DEV_WP_INTERFACE') && true === TNC_ENABLE_DEV_WP_INTERFACE ? true : false;
|
||||
}
|
||||
|
||||
function tainacan_load_plugin_textdomain() {
|
||||
load_plugin_textdomain( 'tainacan', FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
|
||||
}
|
||||
add_action( 'plugins_loaded', 'tainacan_load_plugin_textdomain' );
|
||||
|
||||
add_action( 'after_setup_theme', function() {
|
||||
add_image_size( 'tainacan-small', 40, 40, true );
|
||||
add_image_size( 'tainacan-medium', 275, 275, true );
|
||||
|
|
Loading…
Reference in New Issue