Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nigel-bmlt committed Mar 9, 2023
1 parent 055cdf0 commit 694a0f1
Show file tree
Hide file tree
Showing 49 changed files with 3,514 additions and 2,042 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'airbnb-base',
overrides: [
],
parserOptions: {
ecmaVersion: 'latest',
},
rules: {
'prefer-arrow-callback': 'off',
'func-names': 'off',
camelcase: 'off',
'max-len': 'off',
},
ignorePatterns: ['tests/**', 'node_modules/**'],
};
1 change: 1 addition & 0 deletions .testcaferc.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = {
admin_service_bodies_page_single: siteurl_single + admin_service_bodies_page,
admin_settings_page_single: siteurl_single + admin_settings_page,
admin_options_page_single: siteurl_single + admin_options_page,
wordpress_general_options_single: siteurl_single + '/wp-admin/options-general.php',
admin_logon_single: username_single,
admin_password_single: password_single,
submission_reviewer_user: username_submission_single,
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.0 (Mar 9, 2023)
- Feature: Multi language support in both backend and frontend (thanks @klodd65 !)
- #145 Bug: geolocate fails on good address #14 (thanks @cdiddy1979 !)

## 1.0.29 (Mar 5, 2023)
- Feature: Admins and superadmins (with manage_options capability) have full visibility of the workflow submissions pane
- Feature (disabled for now): First cut of multi language support
Expand Down
15 changes: 15 additions & 0 deletions TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Translating BMLT Workflow

## Instructions for translators
Translation is a great way to help the BMLT Workflow project in a less technical way, and help us get the plugin to as many people as possible.

Main instructions for translation will be kept here: https://github.com/bmlt-enabled/bmlt-workflow/wiki/Translating-BMLT-Workflow

Short summary:

- fork or clone https://github.com/bmlt-enabled/bmlt-workflow.git
- lang/bmlt-workflow.pot contains the base pot file, with file inclusions, exclusions and paths
- create or edit the .po files for your language with PoEdit or similar tool
- save your .po file to the lang folder
- create a pull request against the main branch with your updated po file containing translations
- we'll do the rest!
319 changes: 197 additions & 122 deletions bmlt-workflow.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docker/wp-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ done

wp db create
wp core install --url=$URL --title="hi" --admin_user=admin --admin_password=admin [email protected] --path=/var/www/html
wp language core install fr_FR

mkdir /var/www/html/wp-content/plugins/bmlt-workflow
sync-plugin.sh
Expand Down
Loading

0 comments on commit 694a0f1

Please sign in to comment.