-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
307 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.PAT_FOR_GITHUB_ACTIONS }} | ||
- name: Install Transifex Client | ||
run: sudo pip install transifex-client | ||
- name: Pull translations from Transifex | ||
|
@@ -17,13 +19,8 @@ jobs: | |
run: sudo apt-get install -y gettext | ||
- name: Generate MO files | ||
run: for file in languages/*.po ; do msgfmt $file -o `echo $file | sed 's/\(.*\.\)po/\1mo/'` ; done | ||
# Remove the next four lines and uncomment the last six lines once the process has been confirmed to work as desired. | ||
- uses: actions/upload-artifact@v2 | ||
- name: Commit updated translation files | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
name: pressbooks-book-languages | ||
path: languages/ | ||
# - name: Commit updated translation files | ||
# uses: stefanzweifel/[email protected] | ||
# with: | ||
# commit_message: 'chore(l10n): update translations' | ||
# file_pattern: *.mo *.po | ||
commit_message: 'chore(l10n): update translations' | ||
file_pattern: '*.mo *.po' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// 'Noto Sans Cherokee', @import 'NotoSansCherokeeFont' | ||
|
||
@font-face { | ||
font-family: 'Noto Sans Cherokee'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: url('uploads/assets/fonts/NotoSansCherokee-Regular.ttf') format('truetype'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Noto Sans Cherokee'; | ||
font-style: normal; | ||
font-weight: bold; | ||
src: url('uploads/assets/fonts/NotoSansCherokee-Bold.ttf') format('truetype'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// NOTO CHEROKEE | ||
// CHEROKEE FONT SANS | ||
|
||
@import 'NotoSansCherokeeFont'; | ||
|
||
// Sans-serif stack name | ||
|
||
$sans-serif-epub-chr: 'Noto Sans Cherokee'; | ||
$sans-serif-prince-chr: 'Noto Sans Cherokee'; | ||
$sans-serif-web-chr: 'Noto Sans Cherokee'; | ||
|
||
// Serif stack name | ||
|
||
$serif-epub-chr: 'Noto Sans Cherokee'; | ||
$serif-prince-chr: 'Noto Sans Cherokee'; | ||
$serif-web-chr: 'Noto Sans Cherokee'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: McLuhan 2.17.0\n" | ||
"Project-Id-Version: McLuhan 2.18.0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/pressbooks/pressbooks-book/\n" | ||
"POT-Creation-Date: 2022-02-22T21:43:24+00:00\n" | ||
"POT-Creation-Date: 2022-04-12T14:24:19+00:00\n" | ||
"PO-Revision-Date: 2017-06-22 17:45+0000\n" | ||
"Last-Translator: Radost G <[email protected]>, 2020\n" | ||
"Language-Team: Bulgarian (Bulgaria) (https://www.transifex.com/pressbooks/teams/9194/bg_BG/)\n" | ||
|
@@ -128,28 +128,28 @@ msgstr "Преминете към съдържанието" | |
msgid "Logo for %s" | ||
msgstr "Лого за %s" | ||
|
||
#: header.php:90 | ||
#: header.php:93 | ||
msgid "Toggle Menu" | ||
msgstr "Превключване на менюто" | ||
|
||
#: header.php:92 | ||
#: header.php:95 | ||
msgid "Primary Navigation" | ||
msgstr "" | ||
|
||
#: header.php:102 partials/content-cover-toc.php:9 | ||
#: header.php:105 partials/content-cover-toc.php:9 | ||
msgid "Book Contents Navigation" | ||
msgstr "" | ||
|
||
#: header.php:105 index.php:14 partials/content-cover-toc.php:3 | ||
#: header.php:108 index.php:14 partials/content-cover-toc.php:3 | ||
msgid "Contents" | ||
msgstr "Съдържание" | ||
|
||
#. translators: %s: the title of the book | ||
#: header.php:114 | ||
#: header.php:117 | ||
msgid "Go to the cover page of %s" | ||
msgstr "Отидете на заглавната страница на %s" | ||
|
||
#: header.php:118 inc/helpers/namespace.php:226 | ||
#: header.php:121 inc/helpers/namespace.php:226 | ||
msgid "Buy" | ||
msgstr "Купи" | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: McLuhan 2.17.0\n" | ||
"Project-Id-Version: McLuhan 2.18.0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/pressbooks/pressbooks-book/\n" | ||
"POT-Creation-Date: 2022-02-22T21:43:24+00:00\n" | ||
"POT-Creation-Date: 2022-04-12T14:24:19+00:00\n" | ||
"PO-Revision-Date: 2017-06-22 17:45+0000\n" | ||
"Last-Translator: Steel Wagstaff <[email protected]>, 2021\n" | ||
"Language-Team: English (United Kingdom) (https://www.transifex.com/pressbooks/teams/9194/en_GB/)\n" | ||
|
@@ -124,28 +124,28 @@ msgstr "Skip to content" | |
msgid "Logo for %s" | ||
msgstr "Logo for %s" | ||
|
||
#: header.php:90 | ||
#: header.php:93 | ||
msgid "Toggle Menu" | ||
msgstr "Toggle Menu" | ||
|
||
#: header.php:92 | ||
#: header.php:95 | ||
msgid "Primary Navigation" | ||
msgstr "" | ||
|
||
#: header.php:102 partials/content-cover-toc.php:9 | ||
#: header.php:105 partials/content-cover-toc.php:9 | ||
msgid "Book Contents Navigation" | ||
msgstr "" | ||
|
||
#: header.php:105 index.php:14 partials/content-cover-toc.php:3 | ||
#: header.php:108 index.php:14 partials/content-cover-toc.php:3 | ||
msgid "Contents" | ||
msgstr "Contents" | ||
|
||
#. translators: %s: the title of the book | ||
#: header.php:114 | ||
#: header.php:117 | ||
msgid "Go to the cover page of %s" | ||
msgstr "Go to the cover page of %s" | ||
|
||
#: header.php:118 inc/helpers/namespace.php:226 | ||
#: header.php:121 inc/helpers/namespace.php:226 | ||
msgid "Buy" | ||
msgstr "Buy" | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: McLuhan 2.17.0\n" | ||
"Project-Id-Version: McLuhan 2.18.0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/pressbooks/pressbooks-book/\n" | ||
"POT-Creation-Date: 2022-02-22T21:43:24+00:00\n" | ||
"POT-Creation-Date: 2022-04-12T14:24:19+00:00\n" | ||
"PO-Revision-Date: 2017-06-22 17:45+0000\n" | ||
"Last-Translator: Steel Wagstaff <[email protected]>, 2021\n" | ||
"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/pressbooks/teams/9194/es_CR/)\n" | ||
|
@@ -126,28 +126,28 @@ msgstr "Omitir e ir al contenido" | |
msgid "Logo for %s" | ||
msgstr "Logotipo para %s" | ||
|
||
#: header.php:90 | ||
#: header.php:93 | ||
msgid "Toggle Menu" | ||
msgstr "Alternar menú" | ||
|
||
#: header.php:92 | ||
#: header.php:95 | ||
msgid "Primary Navigation" | ||
msgstr "" | ||
|
||
#: header.php:102 partials/content-cover-toc.php:9 | ||
#: header.php:105 partials/content-cover-toc.php:9 | ||
msgid "Book Contents Navigation" | ||
msgstr "" | ||
|
||
#: header.php:105 index.php:14 partials/content-cover-toc.php:3 | ||
#: header.php:108 index.php:14 partials/content-cover-toc.php:3 | ||
msgid "Contents" | ||
msgstr "Contenido" | ||
|
||
#. translators: %s: the title of the book | ||
#: header.php:114 | ||
#: header.php:117 | ||
msgid "Go to the cover page of %s" | ||
msgstr "Vaya a la portada de %s" | ||
|
||
#: header.php:118 inc/helpers/namespace.php:226 | ||
#: header.php:121 inc/helpers/namespace.php:226 | ||
msgid "Buy" | ||
msgstr "Comprar" | ||
|
||
|
Binary file not shown.
Oops, something went wrong.