diff --git a/src/functions.php b/src/functions.php index 4525320..ed316c9 100644 --- a/src/functions.php +++ b/src/functions.php @@ -11,6 +11,9 @@ if ( ! function_exists( 'tainacan_setup' ) ) { * Observe que esta função está conectada ao gancho after_setup_theme, que é executado antes do gancho de init. */ function tainacan_setup() { + + load_theme_textdomain( 'tainacan-interface', get_template_directory() . '/languages' ); + /** * Display in gutenberg plugin the full width for image */ diff --git a/src/languages/pt_BR.mo b/src/languages/pt_BR.mo new file mode 100644 index 0000000..18b4fd3 Binary files /dev/null and b/src/languages/pt_BR.mo differ diff --git a/src/languages/tainacan-theme-pt_BR.po b/src/languages/pt_BR.po similarity index 99% rename from src/languages/tainacan-theme-pt_BR.po rename to src/languages/pt_BR.po index faf36ac..acc1c15 100644 --- a/src/languages/tainacan-theme-pt_BR.po +++ b/src/languages/pt_BR.po @@ -21,7 +21,7 @@ msgstr "" "_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-Generator: Poedit 2.0.7\n" +"X-Generator: Poedit 1.8.7.1\n" "X-Poedit-SearchPath-0: .\n" #: 404.php:9 @@ -183,8 +183,6 @@ msgid "Upload a logo to the footer" msgstr "Suba uma imagem de logo para o rodapé" #: functions/customizer.php:86 -#, fuzzy -#| msgid "Display \"Proudly Powered by\"" msgid "Display \"Proudly Powered by...\"" msgstr "Exibir \"Orgulhosamente feito com...\"" diff --git a/src/languages/tainacan-theme.pot b/src/languages/tainacan-interface.pot similarity index 100% rename from src/languages/tainacan-theme.pot rename to src/languages/tainacan-interface.pot diff --git a/src/languages/tainacan-theme-pt_BR.mo b/src/languages/tainacan-theme-pt_BR.mo deleted file mode 100644 index a5660fa..0000000 Binary files a/src/languages/tainacan-theme-pt_BR.mo and /dev/null differ