Browse Source

Bump version, fix build command, transifex action (#386)

production
Steel Wagstaff 2 years ago committed by GitHub
parent
commit
d7805495f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/update-translations.yml
  2. 3
      .tx/config
  3. 6
      README.md
  4. 2
      package.json
  5. 2
      style.css

2
.github/workflows/update-translations.yml

@ -10,7 +10,7 @@ jobs:
with: with:
token: ${{ secrets.PAT_FOR_GITHUB_ACTIONS }} token: ${{ secrets.PAT_FOR_GITHUB_ACTIONS }}
- name: Install Transifex Client - name: Install Transifex Client
run: sudo pip install transifex-client run: curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
- name: Pull translations from Transifex - name: Pull translations from Transifex
run: tx pull --all --force --minimum-perc=25 run: tx pull --all --force --minimum-perc=25
env: env:

3
.tx/config

@ -1,11 +1,10 @@
[main] [main]
host = https://www.transifex.com host = https://www.transifex.com
[aldine.pressbooks-aldine] [o:pressbooks:p:aldine:r:pressbooks-aldine]
file_filter = languages/<lang>.po file_filter = languages/<lang>.po
lang_map = de:de_DE, es:es_ES, fr:fr_FR, gl:gl_ES, nb:nb_NO, it:it_IT, ka:ka_GE, ru:ru_RU, ta:ta_LK, hr_HR:hr lang_map = de:de_DE, es:es_ES, fr:fr_FR, gl:gl_ES, nb:nb_NO, it:it_IT, ka:ka_GE, ru:ru_RU, ta:ta_LK, hr_HR:hr
minimum_perc = 0 minimum_perc = 0
source_file = languages/pressbooks-aldine.pot source_file = languages/pressbooks-aldine.pot
source_lang = en source_lang = en
type = PO type = PO

6
README.md

@ -12,7 +12,7 @@ Contributors: conner_bw, greatislander, steelwagstaff
Tags: publishing, catalog, pressbooks, default-theme Tags: publishing, catalog, pressbooks, default-theme
Requires at least: 6.1.1 Requires at least: 6.1.1
Tested up to: 6.1.1 Tested up to: 6.1.1
Stable tag: 1.18.0 Stable tag: 1.18.1
Requires PHP: 8.0 Requires PHP: 8.0
License: GNU General Public License v3 or later License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -31,9 +31,9 @@ Aldine is the default theme for the home page of [Pressbooks](https://pressbooks
## Changelog ## Changelog
### 1.18.0 ### 1.18.1
* See: https://github.com/pressbooks/pressbooks-aldine/releases/tag/1.18.0 * See: https://github.com/pressbooks/pressbooks-aldine/releases/tag/1.18.1
* Full release history available at: https://github.com/pressbooks/pressbooks-aldine/releases * Full release history available at: https://github.com/pressbooks/pressbooks-aldine/releases
## Upgrade Notices ## Upgrade Notices

2
package.json

@ -61,7 +61,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "mix", "build": "npm run production",
"lint:scripts": "eslint \"assets/scripts/**/*.js\"", "lint:scripts": "eslint \"assets/scripts/**/*.js\"",
"lint:styles": "stylelint \"assets/styles/**/*.scss\"", "lint:styles": "stylelint \"assets/styles/**/*.scss\"",
"lint": "run-s lint:*", "lint": "run-s lint:*",

2
style.css

@ -5,7 +5,7 @@ Author: Pressbooks (Book Oven Inc.)
Author URI: https://pressbooks.org Author URI: https://pressbooks.org
Description: Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the worlds first publisher. Description: Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the worlds first publisher.
Tags: publishing, catalog, pressbooks, default-theme Tags: publishing, catalog, pressbooks, default-theme
Version: 1.18.0 Version: 1.18.1
Requires at least: 6.1.1 Requires at least: 6.1.1
Tested up to: 6.1.1 Tested up to: 6.1.1
Requires PHP: 8.0 Requires PHP: 8.0

Loading…
Cancel
Save