Skip to content

Commit 69c1e09

Browse files
committed
Update po file comments, tune installation requirements, alter i18n scripts
1 parent 3eef5eb commit 69c1e09

File tree

12 files changed

+36
-37
lines changed

12 files changed

+36
-37
lines changed

.readthedocs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
build:
2-
image: latest
1+
version: 2
32
python:
43
version: 3.6
5-
requirements_file: docs/requirements.txt
4+
install:
5+
- method: pip
6+
path: .
7+
extra_requirements:
8+
- docs

Gruntfile.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,6 @@ module.exports = function(grunt) {
144144
locale = (typeof locale !== 'undefined') ? locale : 'en';
145145
return 'sphinx-build -D language=' + locale + ' docs/ docs/build/html'
146146
}
147-
},
148-
babel_extract: {
149-
cmd: 'python setup.py extract_messages'
150-
},
151-
babel_compile: {
152-
cmd: 'python setup.py compile_catalog'
153-
},
154-
tx_pull: {
155-
cmd: 'tx pull'
156-
},
157-
tx_push: {
158-
cmd: 'tx push --source'
159147
}
160148
},
161149
clean: {

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"main": "js/theme.js",
44
"version": "0.4.3",
55
"private": true,
6+
"scripts": {
7+
"i18n-extract": "python setup.py extract_messages && python setup.py update_catalog",
8+
"i18n-update": "tx pull && tx push --source",
9+
"i18n-compile": "python setup.py compile_catalog",
10+
"i18n-release": "npm run i18n-extract && npm run i18n-update && npm run i18n-compile",
11+
"i18n": "npm run i18n-extract && npm run i18n-compile"
12+
},
613
"devDependencies": {
714
"bower": "^1.8.4",
815
"browserify": "^13.0.0",

setup.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
install_requires=[
3838
'sphinx'
3939
],
40+
extras_require={
41+
'dev': [
42+
'transifex-client',
43+
'sphinxcontrib-httpdomain',
44+
],
45+
'docs': [
46+
'sphinxcontrib-httpdomain',
47+
]
48+
},
4049
classifiers=[
4150
'Framework :: Sphinx',
4251
'Framework :: Sphinx :: Theme',
-1.63 KB
Binary file not shown.

sphinx_rtd_theme/locale/en/LC_MESSAGES/sphinx.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: sphinx_rtd_theme 0.4.3.dev0\n"
1010
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11-
"POT-Creation-Date: 2019-07-16 15:59-0600\n"
11+
"POT-Creation-Date: 2019-07-19 12:32-0600\n"
1212
"PO-Revision-Date: 2019-07-16 15:43-0600\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language: en\n"
@@ -17,7 +17,7 @@ msgstr ""
1717
"MIME-Version: 1.0\n"
1818
"Content-Type: text/plain; charset=utf-8\n"
1919
"Content-Transfer-Encoding: 8bit\n"
20-
"Generated-By: Babel 2.6.0\n"
20+
"Generated-By: Babel 2.7.0\n"
2121

2222
#: sphinx_rtd_theme/breadcrumbs.html:31
2323
msgid "Docs"
10 Bytes
Binary file not shown.

sphinx_rtd_theme/locale/es/LC_MESSAGES/sphinx.po

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
# English translations for sphinx_rtd_theme.
2-
# Copyright (C) 2019 ORGANIZATION
1+
# Spanish translations for sphinx_rtd_theme.
2+
# Copyright (C) 2019 Read the Docs, Inc
33
# This file is distributed under the same license as the sphinx_rtd_theme
44
# project.
5-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2019.
6-
#
7-
# Translators:
8-
# Anthony <[email protected]>, 2019
95
msgid ""
106
msgstr ""
117
"Project-Id-Version: sphinx_rtd_theme 0.4.3.dev0\n"
12-
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
13-
"POT-Creation-Date: 2019-07-16 15:59-0600\n"
8+
"Report-Msgid-Bugs-To: [email protected]\n"
9+
"POT-Creation-Date: 2019-07-19 12:32-0600\n"
1410
"PO-Revision-Date: 2019-07-16 21:44+0000\n"
1511
"Last-Translator: Anthony <[email protected]>, 2019\n"
1612
"Language: es\n"
@@ -20,7 +16,7 @@ msgstr ""
2016
"MIME-Version: 1.0\n"
2117
"Content-Type: text/plain; charset=utf-8\n"
2218
"Content-Transfer-Encoding: 8bit\n"
23-
"Generated-By: Babel 2.6.0\n"
19+
"Generated-By: Babel 2.7.0\n"
2420

2521
#: sphinx_rtd_theme/breadcrumbs.html:31
2622
msgid "Docs"
-1.62 KB
Binary file not shown.

0 commit comments

Comments
 (0)