Plugin Directory

Changeset 3335376


Ignore:
Timestamp:
07/28/2025 12:44:44 PM (7 months ago)
Author:
markohoven
Message:

version 1.0.7 of the mybrain-utilities plugin

Location:
mybrain-utilities
Files:
56 added
7 edited

Legend:

Unmodified
Added
Removed
  • mybrain-utilities/trunk/README.txt

    r3293222 r3335376  
    66Requires PHP: 7.0
    77Tested up to: 6.8
    8 Stable tag: 1.0.6
     8Stable tag: 1.0.7
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.txt
  • mybrain-utilities/trunk/changelog.txt

    r3293222 r3335376  
    1313
    1414### Removed
     15
     16
     17## [1.0.7] - 2025-07-28
     18
     19### Fixed
     20
     21- Improved Dutch translations
    1522
    1623
  • mybrain-utilities/trunk/includes/class-mybrain-utilities-i18n.php

    r3267230 r3335376  
    2525 * @author     My Brain <[email protected]>
    2626 */
    27 class Mybrain_Utilities_i18n {
     27class Mybrain_Utilities_i18n
     28{
     29    /**
     30     * Load the plugin text domain for translation.
     31     *
     32     * @since    1.0.0
     33     */
     34    public function load_plugin_textdomain()
     35    {
    2836
     37        // based on: https://stackoverflow.com/questions/18826977/override-a-wordpress-plugin-translation-file-on-load
     38        $text_domain = 'mybrain-utilities';
     39        $mybrain_utilities_language_file = plugin_dir_path(dirname(__FILE__)) . 'languages' . DIRECTORY_SEPARATOR . $text_domain. '-nl_NL.mo';
     40       
     41        // Unload the translation for the text domain of the plugin
     42        unload_textdomain($text_domain);
     43        // Then load my own file
     44        load_textdomain($text_domain, $mybrain_utilities_language_file, 'nl_NL');
    2945
    30     /**
    31      * Load the plugin text domain for translation.
    32      *
    33      * @since    1.0.0
    34      */
    35     public function load_plugin_textdomain() {
     46        // load_plugin_textdomain(
     47        //     'mybrain-utilities',
     48        //     false,
     49        //     dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
     50        // );
    3651
    37         load_plugin_textdomain(
    38             'mybrain-utilities',
    39             false,
    40             dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'
    41         );
    42 
    43     }
    44 
    45 
     52    }
    4653
    4754}
  • mybrain-utilities/trunk/languages/mybrain-utilities-nl_NL.po

    r3267861 r3335376  
    66"Project-Id-Version: MyBrain Utilities\n"
    77"Report-Msgid-Bugs-To: http://mybrain.nl/\n"
    8 "POT-Creation-Date: 2025-04-07 12:04+0200\n"
    9 "PO-Revision-Date: 2025-04-07 12:07+0200\n"
     8"POT-Creation-Date: 2025-07-28 14:13+0200\n"
     9"PO-Revision-Date: 2025-07-28 14:28+0200\n"
    1010"Last-Translator: Marko Hoven - My Brain <[email protected]>\n"
    1111"Language-Team: My Brain <[email protected]>\n"
     
    218218msgid "Checks, backs up and restores your .htaccess and wp-config.php files."
    219219msgstr ""
    220 "Controleert, maakt back-ups en herstelt je .htaccess- en wp-config.php-"
     220"Controleert, maakt back-ups en herstelt je .htaccess en wp-config.php "
    221221"bestanden."
    222222
     
    253253"only continue if they understand the code and trust the source."
    254254msgstr ""
    255 "Deze plugin voegt een waarschuwing toe in de browser console log naar elke "
     255"Deze plugin voegt een waarschuwing toe in de browserconsole log naar elke "
    256256"bezoeker, om alleen verder te gaan als ze de code begrijpen en de bron "
    257257"vertrouwen."
     
    267267#: public/class-mybrain-utilities-public.php:592
    268268msgid "map center"
    269 msgstr "centrum van de kaart"
     269msgstr "midden van de kaart"
    270270
    271271#: public/class-mybrain-utilities-public.php:594
     
    290290"front-end."
    291291msgstr ""
    292 "Gebruik CSS-classes \"mbumap-popup hidden\" om het te verbergen in de front-"
    293 "end."
     292"Gebruik CSS-classes \"mbumap-popup hidden\" om de paragraaf te verbergen in "
     293"de front-end."
    294294
    295295#: public/class-mybrain-utilities-public.php:616
     
    300300msgid "You may need to login again after you change the time-out value."
    301301msgstr ""
    302 "Mogelijk moet u opnieuw inloggen nadat u de time-outwaarde hebt gewijzigd."
     302"Mogelijk moet je opnieuw inloggen nadat je de time-outwaarde hebt gewijzigd."
    303303
    304304#: public/class-mybrain-utilities-public.php:620
  • mybrain-utilities/trunk/languages/mybrain-utilities.pot

    r3267861 r3335376  
    66"Project-Id-Version: MyBrain Utilities\n"
    77"Report-Msgid-Bugs-To: http://mybrain.nl/\n"
    8 "POT-Creation-Date: 2025-04-07 12:04+0200\n"
     8"POT-Creation-Date: 2025-07-28 14:12+0200\n"
    99"PO-Revision-Date: \n"
    1010"Last-Translator: Marko Hoven - My Brain <[email protected]>\n"
  • mybrain-utilities/trunk/mybrain-utilities.php

    r3293222 r3335376  
    99 * Plugin URI:        https://github.com/MyBrainNL/mybrain-utilities
    1010 * Description:       My Brain Wordpress Utilities - Backup of configuration files .htaccess and wp-config, stay logged-in longer & a simple OpenStreetMap Map.
    11  * Version:           1.0.6
     11 * Version:           1.0.7
    1212 * Requires at least: 5.2
    1313 * Requires PHP:      7.0
     
    5050 * Rename this for your plugin and update it as you release new versions.
    5151 */
    52 define('MYBRAIN_UTILITIES_VERSION', '1.0.6');
     52define('MYBRAIN_UTILITIES_VERSION', '1.0.7');
    5353define('MYBRAIN_UTILITIES_PLUGIN_PATH', plugin_dir_path(__FILE__));
    5454
Note: See TracChangeset for help on using the changeset viewer.