Plugin Directory

Changeset 3380246


Ignore:
Timestamp:
10/17/2025 04:24:52 PM (5 months ago)
Author:
glotpress
Message:

Update to version 4.0.3 from GitHub

Location:
glotpress
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • glotpress/tags/4.0.3/CHANGELOG.md

    r3378742 r3380246  
    11All notable changes to this project will be documented in this file.
    22This project adheres to [Semantic Versioning](http://semver.org/).
     3
     4## [4.0.3] (October 17, 2025)
     5
     6**Bugfixes**
     7* Check if ->all_count is > 0 ([#1941])
     8* Add the untranslated parts of speech ([#1943])
    39
    410## [4.0.2] (October 15, 2025)
     
    672678* Initial release.
    673679
    674 [Unreleased]: https://github.com/GlotPress/GlotPress/compare/4.0.2...HEAD
     680[Unreleased]: https://github.com/GlotPress/GlotPress/compare/4.0.3...HEAD
     681[4.0.3]: https://github.com/GlotPress/GlotPress/compare/4.0.2...4.0.3
    675682[4.0.2]: https://github.com/GlotPress/GlotPress/compare/4.0.1...4.0.2
    676683[4.0.1]: https://github.com/GlotPress/GlotPress/compare/4.0.0...4.0.1
     
    906913[#1842]: https://github.com/GlotPress/GlotPress/pull/1842
    907914[#1844]: https://github.com/GlotPress/GlotPress/pull/1844
     915[#1941]: https://github.com/GlotPress/GlotPress/pull/1941
     916[#1943]: https://github.com/GlotPress/GlotPress/pull/1943
  • glotpress/tags/4.0.3/glotpress.php

    r3378742 r3380246  
    44 * Plugin URI: https://wordpress.org/plugins/glotpress/
    55 * Description: GlotPress is a tool to help translators collaborate.
    6  * Version: 4.0.2
     6 * Version: 4.0.3
    77 * Requires at least: 4.6
    88 * Tested up to: 6.8
     
    3030 */
    3131
    32 define( 'GP_VERSION', '4.0.2' );
     32define( 'GP_VERSION', '4.0.3' );
    3333define( 'GP_DB_VERSION', '980' );
    3434define( 'GP_CACHE_VERSION', '3.0' );
  • glotpress/tags/4.0.3/gp-includes/things/glossary-entry.php

    r3378742 r3380246  
    5757        }
    5858
     59        $this->parts_of_speech = array(
     60            'noun'         => 'noun',
     61            'verb'         => 'verb',
     62            'adjective'    => 'adjective',
     63            'adverb'       => 'adverb',
     64            'interjection' => 'interjection',
     65            'conjunction'  => 'conjunction',
     66            'preposition'  => 'preposition',
     67            'pronoun'      => 'pronoun',
     68            'expression'   => 'expression',
     69            'abbreviation' => 'abbreviation',
     70        );
     71
    5972        add_action( 'init', array( $this, 'translate_parts_of_speech' ) );
    6073    }
  • glotpress/tags/4.0.3/gp-templates/project.php

    r2979634 r3380246  
    9494                    <strong><?php gp_link( gp_url_project( $project, gp_url_join( $set->locale, $set->slug ) ), $set->name_with_locale() ); ?></strong>
    9595                    <?php
    96                     if ( $set->current_count && $set->current_count >= $set->all_count * 0.9 ) :
     96                    if ( $set->current_count && $set->all_count && $set->current_count >= $set->all_count * 0.9 ) :
    9797                            $percent = floor( $set->current_count / $set->all_count * 100 );
    9898                    ?>
  • glotpress/tags/4.0.3/readme.txt

    r3378742 r3380246  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 4.0.2
     7Stable tag: 4.0.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • glotpress/trunk/CHANGELOG.md

    r3378742 r3380246  
    11All notable changes to this project will be documented in this file.
    22This project adheres to [Semantic Versioning](http://semver.org/).
     3
     4## [4.0.3] (October 17, 2025)
     5
     6**Bugfixes**
     7* Check if ->all_count is > 0 ([#1941])
     8* Add the untranslated parts of speech ([#1943])
    39
    410## [4.0.2] (October 15, 2025)
     
    672678* Initial release.
    673679
    674 [Unreleased]: https://github.com/GlotPress/GlotPress/compare/4.0.2...HEAD
     680[Unreleased]: https://github.com/GlotPress/GlotPress/compare/4.0.3...HEAD
     681[4.0.3]: https://github.com/GlotPress/GlotPress/compare/4.0.2...4.0.3
    675682[4.0.2]: https://github.com/GlotPress/GlotPress/compare/4.0.1...4.0.2
    676683[4.0.1]: https://github.com/GlotPress/GlotPress/compare/4.0.0...4.0.1
     
    906913[#1842]: https://github.com/GlotPress/GlotPress/pull/1842
    907914[#1844]: https://github.com/GlotPress/GlotPress/pull/1844
     915[#1941]: https://github.com/GlotPress/GlotPress/pull/1941
     916[#1943]: https://github.com/GlotPress/GlotPress/pull/1943
  • glotpress/trunk/glotpress.php

    r3378742 r3380246  
    44 * Plugin URI: https://wordpress.org/plugins/glotpress/
    55 * Description: GlotPress is a tool to help translators collaborate.
    6  * Version: 4.0.2
     6 * Version: 4.0.3
    77 * Requires at least: 4.6
    88 * Tested up to: 6.8
     
    3030 */
    3131
    32 define( 'GP_VERSION', '4.0.2' );
     32define( 'GP_VERSION', '4.0.3' );
    3333define( 'GP_DB_VERSION', '980' );
    3434define( 'GP_CACHE_VERSION', '3.0' );
  • glotpress/trunk/gp-includes/things/glossary-entry.php

    r3378742 r3380246  
    5757        }
    5858
     59        $this->parts_of_speech = array(
     60            'noun'         => 'noun',
     61            'verb'         => 'verb',
     62            'adjective'    => 'adjective',
     63            'adverb'       => 'adverb',
     64            'interjection' => 'interjection',
     65            'conjunction'  => 'conjunction',
     66            'preposition'  => 'preposition',
     67            'pronoun'      => 'pronoun',
     68            'expression'   => 'expression',
     69            'abbreviation' => 'abbreviation',
     70        );
     71
    5972        add_action( 'init', array( $this, 'translate_parts_of_speech' ) );
    6073    }
  • glotpress/trunk/gp-templates/project.php

    r2979634 r3380246  
    9494                    <strong><?php gp_link( gp_url_project( $project, gp_url_join( $set->locale, $set->slug ) ), $set->name_with_locale() ); ?></strong>
    9595                    <?php
    96                     if ( $set->current_count && $set->current_count >= $set->all_count * 0.9 ) :
     96                    if ( $set->current_count && $set->all_count && $set->current_count >= $set->all_count * 0.9 ) :
    9797                            $percent = floor( $set->current_count / $set->all_count * 100 );
    9898                    ?>
  • glotpress/trunk/readme.txt

    r3378742 r3380246  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 4.0.2
     7Stable tag: 4.0.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.