BenchPress
- π¦ NEW: Added WPCom Check to restrict plugin usage on wordpress.com
- π¦ NEW: Added French translation
- π¦ NEW: Added German translation
- π¦ NEW: Added Afrikkans translation
- π¦ NEW: Added Japanese translation
- π IMPROVE: Updated text strings for localization
- π IMPROVE: Moved the db-table code to it's own file
- π IMPROVE: Moved the enqueue scripts to their own file
- π IMPROVE: Moved ajax codes to their own file
- π IMPROVE: Moved admin settings to it's own file
- π IMPROVE: Updated plugin to load text domains for translations
Release notes
This update for BenchPress introduces expanded language support, better code organization, and localization improvements:
π New Features
- WordPress.com Compatibility Restriction: Added WPCom Check to prevent plugin usage on WordPress.com-hosted sites, ensuring proper environment support.
- New Translations: BenchPress is now available in French π«π·, German π©πͺ, Afrikaans πΏπ¦, and Japanese π―π΅, improving accessibility for a global audience.
π§ Improvements
- Enhanced Localization: Updated text strings to improve translation accuracy and consistency across languages.
- Code Refactoring for Better Maintainability:
- Database Table Code: Moved to its own file for better structure.
- Enqueue Scripts: Separated into a dedicated file.
- AJAX Code: Moved to its own file to improve code clarity and maintainability.
- Admin Settings: Now in a separate file for improved organization.
- Translation Optimization: Ensured the plugin properly loads text domains for accurate translations.