[Groonga-commit] droonga/droonga.org at 1347e3a [gh-pages] Fix wrong i18n workflow

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Dec 19 15:01:04 JST 2013


Kouhei Sutou	2013-12-19 15:01:04 +0900 (Thu, 19 Dec 2013)

  New Revision: 1347e3a5f911cf74df318c18e90f54cf01cb7111
  https://github.com/droonga/droonga.org/commit/1347e3a5f911cf74df318c18e90f54cf01cb7111

  Message:
    Fix wrong i18n workflow

  Modified files:
    _doc/i18n.md

  Modified: _doc/i18n.md (+13 -6)
===================================================================
--- _doc/i18n.md    2013-12-19 14:54:12 +0900 (7ea75d2)
+++ _doc/i18n.md    2013-12-19 15:01:04 +0900 (75d703a)
@@ -7,8 +7,9 @@ This documentation describes how to translate the original documentations in Eng
   1. Run `rake`.
   2. Translate `_po/${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.edit.po`.
   3. Run `rake`.
-  4. Confirm `${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.html`.
-  5. Commit `_po/${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.po` (not `.edit.po`) and ``${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.html`.
+  4. Run `jekyll server`.
+  5. Confirm `_site/${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.html`.
+  6. Commit `_po/${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.po` (not `.edit.po`) and ``${YOUR_LOCALE}/${PATH_TO_TARGET_FILE}.md`.
 
 Here is an example to translate `overview/index.md` into Japanese.
 
@@ -32,17 +33,23 @@ Run `rake`:
 % rake
 ```
 
-Confirm `ja/overview/index.html`:
+Run `jekyll server`:
 
 ```
-% firefox ja/overview/index.html
+% jekyll server &
 ```
 
-Commit `_po/ja/overview/index.po` and `ja/overview/index.html`:
+Confirm `_site/ja/overview/index.html`:
+
+```
+% firefox http://localhost:4000/ja/overview/index.html
+```
+
+Commit `_po/ja/overview/index.po` and `ja/overview/index.md`:
 
 ```
 % git add _po/ja/overview/index.po
-% git add ja/overview/index.html
+% git add ja/overview/index.md
 % git commit
 % git push
 ```
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index