Browse Source

Update version, add localization tools.

pull/107/head
Ned Zimmerman 7 years ago
parent
commit
442029bf06
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 9
      .tx/config
  2. 15
      README.md
  3. 6
      bin/i18n.sh
  4. 2
      composer.json
  5. 39
      package.json
  6. 14
      readme.txt
  7. 6
      style.css

9
.tx/config

@ -0,0 +1,9 @@
[main]
host = https://www.transifex.com
[pressbooks-aldine.pressbooks-aldine]
source_file = languages/pressbooks-aldine.pot
source_lang = en
type = 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

15
README.md

@ -6,8 +6,8 @@
**Requires at least:** 4.9.4
**Tested up to:** 4.9.4
**Stable tag:** 1.0.0
**License:** GNU General Public License v3
**Stable tag:** 1.0.1
**License:** GNU General Public License v3 or later
**License URI:** LICENSE
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 world’s first publisher.
@ -33,6 +33,17 @@ TK.
## Changelog
# Aldine 1.0.1
#### Patches
- Load header image from `dist` ([#104](https://github.com/pressbooks/pressbooks-aldine/issues/104), props [@steven1350](https://github.com/steven1350) for reporting): [826dc93](https://github.com/pressbooks/pressbooks-aldine/commit/826dc930869041df0ffdd15748f686013fbed54e)
- Prevent page header from overlapping menu in some situations ([#103](https://github.com/pressbooks/pressbooks-aldine/issues/103), props [@beckej13820](https://github.com/beckej13820) for reporting): [df793ac](https://github.com/pressbooks/pressbooks-aldine/commit/df793acda9a4ccd4975056e150862e73f9e8379f)
- Improve display of pages without content ([#102](https://github.com/pressbooks/pressbooks-aldine/issues/102)): [0866e9a](https://github.com/pressbooks/pressbooks-aldine/commit/0866e9afe80f82b7d79dfd5a4d17095ee0bf716b)
- Update activation routine to use shortcodes: [1409a01](https://github.com/pressbooks/pressbooks-aldine/commit/1409a01b7759b6b4117316763957d498a5827692)
- Use a unique cookie name for the network homepage font size setting: [d109496](https://github.com/pressbooks/pressbooks-aldine/commit/d10949677ccc3fee67fbb9b1069c360b2270c779)
# Aldine 1.0.0
#### Customisation & Branding

6
bin/i18n.sh

@ -0,0 +1,6 @@
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PARENT="$(dirname $DIR)"
tx push -s
tx pull -a
for file in $PARENT/languages/*.po ; do msgfmt $file -o `echo $file | sed 's/\(.*\.\)po/\1mo/'` ; done

2
composer.json

@ -1,7 +1,7 @@
{
"name": "pressbooks/pressbooks-aldine",
"type": "wordpress-theme",
"license": "GPL-3.0",
"license": "GPL-3.0-or-later",
"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 world’s first publisher.",
"homepage": "https://github.com/pressbooks/pressbooks-aldine/",

39
package.json

@ -3,13 +3,9 @@
"version": "1.0.0",
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>",
"homepage": "https://github.com/pressbooks/pressbooks-aldine/",
"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 world’s first publisher.",
"keywords": [
"publishing",
"catalog",
"pressbooks",
"default-theme"
],
"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 world’s first publisher.",
"keywords": ["publishing", "catalog", "pressbooks", "default-theme"],
"private": true,
"repository": {
"type": "git",
@ -20,15 +16,12 @@
},
"licenses": [
{
"type": "GPL-3.0",
"url": "https://opensource.org/licenses/GPL-3.0"
"type": "GPL-3.0-or-later",
"url":
"https://github.com/pressbooks/pressbooks-aldine/tree/master/LICENSE.md"
}
],
"browserslist": [
"last 2 versions",
"android 4",
"opera 12"
],
"browserslist": ["last 2 versions", "android 4", "opera 12"],
"eslintConfig": {
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js",
"globals": {
@ -40,14 +33,20 @@
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js"
},
"scripts": {
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:profile": "cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js",
"start": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build":
"cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:production":
"cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"build:profile":
"cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js",
"start":
"cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"rmdist": "rimraf dist",
"lint": "npm run -s lint:scripts && npm run -s lint:styles",
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"",
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss",
"lint:scripts":
"cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"",
"lint:styles":
"cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss",
"test": "npm run -s lint"
},
"engines": {

14
readme.txt

@ -6,8 +6,8 @@ Tags: publishing, catalog, pressbooks, default-theme
Requires at least: 4.9.4
Tested up to: 4.9.4
Stable tag: 1.0.0
License: GNU General Public License v3
Stable tag: 1.0.1
License: GNU General Public License v3 or later
License URI: LICENSE
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 world’s first publisher.
@ -28,6 +28,16 @@ TK.
== Changelog ==
=== Aldine 1.0.1 ===
#### Patches
- Load header image from `dist` ([#104](https://github.com/pressbooks/pressbooks-aldine/issues/104), props [@steven1350](https://github.com/steven1350) for reporting): [826dc93](https://github.com/pressbooks/pressbooks-aldine/commit/826dc930869041df0ffdd15748f686013fbed54e)
- Prevent page header from overlapping menu in some situations ([#103](https://github.com/pressbooks/pressbooks-aldine/issues/103), props [@beckej13820](https://github.com/beckej13820) for reporting): [df793ac](https://github.com/pressbooks/pressbooks-aldine/commit/df793acda9a4ccd4975056e150862e73f9e8379f)
- Improve display of pages without content ([#102](https://github.com/pressbooks/pressbooks-aldine/issues/102)): [0866e9a](https://github.com/pressbooks/pressbooks-aldine/commit/0866e9afe80f82b7d79dfd5a4d17095ee0bf716b)
- Update activation routine to use shortcodes: [1409a01](https://github.com/pressbooks/pressbooks-aldine/commit/1409a01b7759b6b4117316763957d498a5827692)
- Use a unique cookie name for the network homepage font size setting: [d109496](https://github.com/pressbooks/pressbooks-aldine/commit/d10949677ccc3fee67fbb9b1069c360b2270c779)
=== Aldine 1.0.0 ===
#### Customisation & Branding

6
style.css

@ -2,14 +2,14 @@
Theme Name: Aldine
Theme URI: https://github.com/pressbooks/pressbooks-aldine/
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.
Version: 1.0.0
Version: 1.0.1
Author: Pressbooks (Book Oven Inc.)
Author URI: https://pressbooks.org
Text Domain: pressbooks-aldine
GitHub Theme URI: pressbooks/pressbooks-aldine
Release Asset: true
License: GNU General Public License v3
License URI: http://opensource.org/licenses/GPL-3.0
License: GNU GPL v3 or later
License URI: https://github.com/pressbooks/pressbooks-aldine/tree/master/LICENSE.md
Aldine is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Loading…
Cancel
Save