diff --git a/composer.json b/composer.json index 742eaf3..d7ab6fd 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "rrze/wp", "description": "A general purpose library for WordPress.", - "version": "1.1.0", + "version": "1.1.1", "type": "library", "keywords": [ "wordpress" diff --git a/src/Settings/Settings.php b/src/Settings/Settings.php index 3210abb..ff60fb0 100644 --- a/src/Settings/Settings.php +++ b/src/Settings/Settings.php @@ -43,7 +43,7 @@ public function __construct($title, $slug = null) public function loadTextdomain() { - $mofile = dirname(__FILE__) . '/languages/rrze-wp-settings' . get_locale() . '.mo'; + $mofile = dirname(__FILE__) . '/languages/rrze-wp-settings-' . get_locale() . '.mo'; load_textdomain('rrze-wp-settings', $mofile); }