What’s Changed
Features
-
Update minimum required PHP version to 7.4 by @ocean90 in #1417 -
Update the minimum PHP version to 7.4 in composer.json and phpcs.xml.dist file by @ocean90 in #1419 -
Add CSS to current navigation menu item by @pedro-mendonca in #1379 -
Speed improvement for gp_levenshtein(). by @dd32 in #1408 -
Improve Glossaries links by @pedro-mendonca in #1375 -
Add a Grunt watcher to uglify JavaScript and/or to minify CSS by @amieiro in #1432 -
Add preset file types for upload by @pedro-mendonca in #1445 -
Adds a warning for added or removed spaces at the beginning or at the end of the translation by @amieiro in #1427 -
Added sort by string length by @CWBudde in #1449 -
Add a template for the PR by @amieiro in #1448 -
Add the alphabet for each locale by @amieiro in #1479 -
Add a npm command to automatically fix the potentially fixable errors by @amieiro in #1459 -
Add word count type to each Locale by @pedro-mendonca in #1482 -
Add “Last Modified” column to Glossary by @pedro-mendonca in #1428 -
Add a new status: changes requested by @amieiro in #1451 -
Show the exact amount of spaces added or missing on the translation warnings by @pedro-mendonca in #1490 -
Add Glossary sorting by @pedro-mendonca in #1426 -
Add characters and words counts to editor by @pedro-mendonca in #1478 -
Check the missing uppercase in the beginning of the translations by @amieiro in #1450 -
Add an action gp_after_project_form_fields to enable additional fields to be added by @2ndkauboy in #1522 -
Get supported formats extensions dynamically by @pedro-mendonca in #1524 -
Highlight leading and trailing spaces, and double/multiple spaces in the middle by @pedro-mendonca in #1500 -
Add I18n to JavaScript by @pedro-mendonca in #1369 -
Add plural and plural forms labels to row previews and format the row editor accordingly by @pedro-mendonca in #1506 -
Reorder glossary row editor items by @pedro-mendonca in #1622 -
Combine the suffixes for shorter regular expression. by @dd32 in #1651 -
Build the minified assets before WP.org deploy by @pedro-mendonca in #1654 -
Add a filter for the classes of the translation table and an action after the translation table is displayed by @amieiro in #1665 -
Use filemtime to set the asset’s version by @amieiro in #1693 -
Add a slash at the end of a requested URI by @amieiro in #1701 -
Add a Grunt action to set GP_SCRIPT_DEBUG to false when we deploy to wporg by @amieiro in #1697 -
Move the highlight label from the active projects to the inactive by @amieiro in #1680 -
Add templates for bug and feature report by @amieiro in #1713 -
Add new PHP format by @swissspidy in #1626 -
Change file extension for PHP format by @swissspidy in #1774 -
Add suffixes for matching glossary terms by @pedro-mendonca in #1373 -
Make it possible to run tests in PHP 8 by @psrpinto in #1760 -
Add Plugin Preview to GlotPress by @trymebytes in #1748 -
Improve placeholders match and visibility by @pedro-mendonca in #1620 -
Document how to use wp-env to run tests by @psrpinto in #1776 -
Add a ‘gp_before_translation_table’ hook by @amieiro in #1792 -
Breadcrumbs: Improve consistency across all content types by @pedro-mendonca in #1789 -
Add trailing slash to current_url to fix matching URLs without trailing slash by @pedro-mendonca in #1785 -
Add the breadcrumbs for the “New project” actions by @amieiro in #1800 -
Improve translation strings consistency and comments to translators by @pedro-mendonca in #1600 -
Update package-lock.json by @pedro-mendonca in #1452 -
Improve the PR template by @amieiro in #1641 -
Remove unused files by @amieiro in #1723
Bugfixes
-
Fix readme duplicate strings and update links by @pedro-mendonca in #1406 -
Add missing text domain by @pedro-mendonca in #1410 -
Fixes deprecation notice in PHP8 for usort returning bool by @afragen in #1464 -
Bulk status change: Fix bulk rejection by @dd32 in #1486 -
Set as old the previous translations with changes requested by @amieiro in #1497 -
Check JSON for double array to fix fatal error by @trymebytes in #1569 -
Set as old the previous translations with waiting status for this user by @amieiro in #1536 -
Router: Fix notice accessing undefined variable by @akirk in #1582 -
Fix PHP error for parameter after optional parameter by @afragen in #1465 -
Fix including the minified assets in the WP.org deploy by @akirk in #1655 -
Translation errors by @amieiro in #1644 -
Fix wordpress.org plugin deploy if the minified files are already built by @akirk in #1662 -
Avoid adding the invisible classes in the glossary by @amieiro in #1664 -
Fix button margins by @samuelsidler in #1677 -
Remove the glossary tooltip inside the HTML tags by @amieiro in #1679 -
Avoid passing null to trim() by @swissspidy in #1698 -
Add some properties in the translation-set to avoid deprecation notices by @amieiro in #1705 -
When creating a new project, check if the project slug exists and is not null by @amieiro in #1704 -
Filter the placeholders to show them with the glossary words by @amieiro in #1696 -
Resolve a bug with the glossary variations by @amieiro in #1706 -
Don’t set context to empty string by default by @amieiro in #1726 -
Glossary: Fix fatal array in PHP8 for invalid post data by @akirk in #1750 -
Fix glossary matching left bounded by placeholder. by @pedro-mendonca in #1733 -
Fix fatal error in PHP8.x for invalid get data by @amieiro in #1754 -
Solve some warnings with the glossary suffixes by @amieiro in #1779 -
Glossary: Match single word entries of parts of speech that have no suffix rules. by @pedro-mendonca in #1791 -
Fix redirecting URL with query args by @pedro-mendonca in #1797 -
Make the glossary regex more deterministic by @akirk in #1801 -
Deprecation. Check if the ctype_digit parameter is null by @amieiro in #1708 -
Deprecation. Check if the preg_split parameter is null by @amieiro in #1709
Locales
-
Correct de_AT country_code, add fa_AF country code. by @dd32 in #1491 -
Add locale en_IE / English (Ireland) by @2ndkauboy in #1520 -
Add locale es_PA / Spanish (Panama) by @2ndkauboy in #1521 -
Update the Facebook locale for es_MX by @amieiro in #1538 -
Add Tarifit locale by @ipshel in #1477 -
Change kir /ky/ plural settings to same as for English by @tobifjellner in #1634 -
Update the slug for the Valencia (Catalan) language by @amieiro in #1635 -
Correction of plurals parameters for Saraiki by @tobifjellner in #1682 -
Add a new locale: Andalusian (Andalûh) by @amieiro in #1729
Breaking Changes
-
GlotPress now requires PHP 7.4 or newer. -
Developers: Various template and design changes.