forked from cataclysmbnteam/Cataclysm-BN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(i18n): translate i18n guide to korean (cataclysmbnteam#4215)
* Ready to Translate * docs: translations for korean 93% completed * docs: translations for korean almost completed * style(autofix.ci): automated formatting * fix: use lowercase `.png` extension * docs(i18n): translate `transifex.md` * docs: use new images * docs: further tidy up translation --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: scarf <[email protected]>
- Loading branch information
1 parent
06ac1c7
commit a2a5cd9
Showing
14 changed files
with
898 additions
and
0 deletions.
There are no files selected for viewing
186 changes: 186 additions & 0 deletions
186
doc/src/content/docs/ko/i18n/explanation/file_format.md
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,186 @@ | ||
--- | ||
title: λ²μ νμΌ ν¬λ§· (.po) | ||
--- | ||
|
||
λ²μμ κ° μΈμ΄ λ° κ΅κ°λ³ μΈμ΄ μ½λλ‘ λͺ λͺ λ [`".po"` νμΌ(Portable Object)][po]μ μ μ₯λ©λλ€. μλ₯Ό | ||
λ€μ΄ μ€νμΈμμ μ¬μ©λλ μ€νμΈμ΄μ λν λ²μμ `es_ES.po`μ, λ©μμ½μμ μ¬μ©λλ μ€νμΈμ΄μ λν | ||
λ²μμ `es_MX.po`μ μ μ₯λ©λλ€. | ||
|
||
[po]: https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html | ||
|
||
νλ²ν ν μ€νΈ νμΌμ΄λ―λ‘ μ무 ν μ€νΈ νΈμ§κΈ°λ₯Ό μ¨λ μκ΄μμΌλ 보ν΅μ | ||
[Poedit](https://poedit.net)κ°μ μ μ© λ²μ νΈμ§κΈ°λ <https://translations.launchpad.net> μΉ κΈ°λ° | ||
λ²μ λꡬλ₯Ό μΈ μλ μμ΅λλ€. | ||
|
||
`".po"` νμΌμ νμμ λ²μν μμ΄ λ¬Έκ΅¬μ κ·Έ λ€μ λ‘컬 λ²μμ΄ μλ νλͺ© λͺ©λ‘μ λλ€. μμ΄ λ¬Έκ΅¬λ | ||
`msgid`λ‘ μμνλ μ€μ μκ³ , λ²μλ ꡬ문μ `msgstr`λ‘ μμνλ μ€μ μμ΅λλ€. | ||
|
||
`msgid` μ€ μμλ ν΄λΉ λ¨μ΄λ λ¬Έκ΅¬κ° μμ€ μ½λμμ μ΄λμμ μλμ§λ₯Ό λνλ΄λ μ£Όμ μ€μ΄ μμ΅λλ€. | ||
μλ¬Έμ μλ―Έκ° λͺ ννμ§ μμ λ λ§₯λ½μ νμ νλλ° λμμ μ€λλ€. λν λ²μμ λ μ½κ² νκΈ° μν΄ | ||
κ°λ°μκ° λ¨κΈ΄ μ£Όμμ΄ μμ μλ μμ΅λλ€. | ||
|
||
λλΆλΆμ νλͺ©μ λ€μκ³Ό κ°μ΄ νμλ©λλ€: | ||
|
||
``` | ||
#: action.cpp:421 | ||
msgid "Construct Terrain" | ||
msgstr "niarreT tcurtsnoC" | ||
``` | ||
|
||
μ¬κΈ°μ μμ΄ λ¬Έκ΅¬λ "Construct Terrain" μ΄κ³ , `action.cpp` νμΌμ 421 λ²μ§Έ μ€μ λμ μμ΅λλ€. μ΄ | ||
μμ λ κ·Έμ μμ΄ λ¬Έμλ₯Ό λ€μ§μ κ²μ λλ€. μ΄λ κ² νλ©΄ "Construct Terrain" λμ "niarreT tcurtsnoC"κ° | ||
νμλ©λλ€. | ||
|
||
λ λ€λ₯Έ μμ λ‘λ: | ||
|
||
``` | ||
#: action.cpp:425 defense.cpp:635 defense.cpp:701 npcmove.cpp:2049 | ||
msgid "Sleep" | ||
msgstr "pleeS" | ||
``` | ||
|
||
λ°©κΈμ μμ μ λΉμ·νμ§λ§, λ λ§μ κ³³μμ μ°μ΄λ 문ꡬλ₯Ό λ²μνμ΅λλ€. μ΄λ κ² νλ©΄ `action.cpp`, | ||
`defense.cpp`(λ λ²), `npcmove.cpp` μ΄ λ€ κ³³μμ 문ꡬ "Sleep"μ΄ "pleeS"λ‘ νμλ©λλ€. | ||
|
||
## νμΌ ν€λ | ||
|
||
".po"` νμΌ μλ¨μ ν€λλ μ£Όμ/msgid/msgstr νμκ³Ό λ€λ₯Έ μ μΌν λΆλΆμ λλ€. | ||
|
||
μ΄λ―Έ μ€μ λ λ²μμ μμ νλ κ²½μ°μλ μμ ν νμκ° μμ΅λλ€. | ||
|
||
μλ‘ λ²μν κ²½μ°, μ¬μ© μ€μΈ νΈμ§κΈ°, λλ λ²μμ μ΄κΈ°νν λ κΆμ₯λλ λ°©μμΈ `msginit` νλ‘κ·Έλ¨μ | ||
ν΅ν΄μ λλΆλΆ μ€μ μ΄ μλ£λμ΄μΌ ν©λλ€(TRANSLATING.md μ°Έμ‘°). | ||
|
||
λ€λ₯Έ λ²μ νμΌμμ μμνλ κ²½μ°μλ λͺ κ°μ§ μ¬νμ λ³κ²½ν΄μΌ ν μ μμ΅λλ€. κ°λ₯ν ν μ΅μ μ λ€ν΄ | ||
μ λ ₯νμΈμ. | ||
|
||
ν€λλ λ€μκ³Ό κ°μ΄ νμλ©λλ€: | ||
|
||
``` | ||
# French translations for Cataclysm-DDA package. | ||
# Copyright (C) 2013 CleverRaven and Cataclysm-DDA contributors. | ||
# This file is distributed under the same license as the Cataclysm-DDA package. | ||
# Administrator <EMAIL@ADDRESS>, 2013. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 0.7-git\n" | ||
"Report-Msgid-Bugs-To: http://github.com/CleverRaven/Cataclysm-DDA\n" | ||
"POT-Creation-Date: 2013-08-01 13:44+0800\n" | ||
"PO-Revision-Date: 2013-08-01 14:02+0800\n" | ||
"Last-Translator: YOUR NAME <[email protected]>\n" | ||
"Language-Team: French\n" | ||
"Language: fr\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n > 1);\n" | ||
``` | ||
|
||
μλ‘ λ²μμ μμνκ±°λ κΈ°μ‘΄ λ²μμ λ΄λΉνκ³ μλ κ²½μ°, λ²μκ³Ό κ΄λ ¨λ μ§λ¬Έμ΄λ λ¬Έμ κ° μμ λ μ°λ½μ | ||
λ°μ μ μλλ‘ μ΄λ¦κ³Ό μ΄λ©μΌ μ£Όμλ₯Ό κΈ°μ¬νλ©΄ λμμ΄ λ©λλ€. | ||
|
||
μλμΌλ‘ μ½κ² μμ±ν μ μλ μ μΌν μ€μν λΆλΆμ [`볡μν μμ`](#볡μν-μμ) νλͺ©μ λλ€. μ΄ | ||
μΉμ μ κ·νμ μΈμ΄μμ λ€μν μμ μ¬λ¬Όμ΄ μ²λ¦¬λλ λ°©μμ κ²°μ ν©λλ€. μ΄μ λν΄μλ λμ€μ μμΈν | ||
μ€λͺ νκ² μ΅λλ€. | ||
|
||
## λ¬Έμμ΄ λ° μ€ λ°κΏ μμ μ§μ | ||
|
||
μΌλΆ λ¬Έμμ΄μλ `%s`, `%2$d` λ° `\n`κ³Ό κ°μ νΉμ μ©μ΄κ° μμ΅λλ€. | ||
|
||
`\n`μ μ€ λ°κΏμ λνλ λλ€. μ½λμμ μ€ λ°κΏμ΄ κ°λ₯ν κ²½μ° μ€μ κ°μΈκΈ° λλ¬Έμ λλΆλΆ λΆνμνμ§λ§, | ||
λλ‘λ λ€λ₯Έ μ€μ λ΄μ©μ λ°°μΉν λ μ¬μ©λκΈ°λ ν©λλ€. λ²μμμ μ μ€μ΄ μμ΄μΌ ν κ³³μ `\n`μ μ¬μ©νλ©΄ | ||
λ©λλ€. | ||
|
||
`%s` λ° κΈ°ν μ μ¬ν μ©μ΄λ κ²μμ΄ μ€ν μ€μΌ λ λ€λ₯Έ μ©μ΄λ‘ λ체λ©λλ€. λ²μμ λ°λΌ μ΄λ¬ν μ©μ΄λ₯Ό | ||
μ΄λν΄μΌ ν μλ μμ΅λλ€. λ²μμμ `%`λ‘ μμνλ λͺ¨λ μ©μ΄λ κ·Έλλ‘ μ μ§νλ κ²μ΄ μ€μν©λλ€. | ||
|
||
λ€μμ `%d`λ₯Ό μ«μλ‘ λ체ν μμ λλ€: | ||
|
||
``` | ||
#: addiction.cpp:224 | ||
#, c-format | ||
msgid "" | ||
"Strength - %d; Perception - 1; Dexterity - 1;\n" | ||
"Depression and physical pain to some degree. Frequent cravings. Vomiting." | ||
msgstr "" | ||
";1 - ytiretxeD ;1 - noitpecreP ;%d - htgnertS\n" | ||
".gnitimoV .sgnivarc tneuqerF .eerged emos ot niap lacisyhp dna noisserpeD" | ||
``` | ||
|
||
μ¬κΈ°μ `%d`κ° λ°μ λμ§ μκ³ `\n`μ΄ μ€ λμ λ¨μ μλ κ²μ΄ μ€μν©λλ€. μ΄ κ²½μ° λ©μμ§κ° νμλ λ | ||
`%d`λ μΊλ¦ν°μ ν ( STR ) μμ μλ‘ λ체λ©λλ€. | ||
|
||
κ²½μ°μ λ°λΌ μ©μ΄μ μμλ₯Ό λ³κ²½ν΄μΌ ν μλ μμ΅λλ€. κ²μμ νΌλμ μ€ μ μμΌλκΉμ. `%` μ©μ΄μ | ||
μμλ₯Ό λ³κ²½λλ©΄ λͺ¨λ μ©μ΄μ μ«μλ₯Ό μΆκ°ν΄μΌ κ²μμμ μ΄λ€ κ²μ΄ μ΄λ€ κ²μΈμ§ μ μ μμ΅λλ€. μΌλΆ | ||
λ¬Έμμ΄μλ μ΄λ―Έ μ΄λ¬ν μ«μκ° μμ§λ§ κ·Έλ μ§ μμ λ¬Έμμ΄λ μμ μ μμ΅λλ€. | ||
|
||
μλ₯Ό λ€μ΄ `%sκ° %sλ₯Ό μλ€!`κ° λ€μ΄ μλ λ¬Έμμ΄μ΄ μμΌλ©΄ λ²μν λ λ°λ μ μμ΅λλ€. μλ§λ | ||
`%sκ° %sμκ² μμλ€!`μ κ°μ΄ λ κ²μ λλ€. νμ§λ§ μ§κΈμ κ±°κΎΈλ‘, μλ μ¬λμ΄ λ§λ μ¬λκ³Ό λ°λ | ||
κ²μ λλ€. | ||
|
||
μ΄ κ²½μ° κ° `%s`λ μ«μ(1~9)λ‘ λ²νΈλ₯Ό 맀긴 λ€μ `%`μ `s` μ¬μ΄μ λ¬λ¬ κΈ°νΈ( `$` )λ₯Ό λ£μ΄μΌ ν©λλ€. | ||
μλ₯Ό λ€μ΄ `%1$sκ° %2$sλ₯Ό μλ€!`λ `%sκ° %sλ₯Ό μλ€!`μ λμΌν©λλ€. λ°λΌμ μμ λ²μ μμ λ | ||
`%2$sκ° %1$sμκ² μμλ€!`κ° λ μ μμΌλ©°, μ΄ λ²μμ μ¬λ°λ₯΄κ² μλν©λλ€. | ||
|
||
κ²μμμ μ΄λ¬ν `%1$s` `%2$s` 맀κ°λ³μλ₯Ό μλμΌλ‘ μμλΌ μ μμ§λ§, (A): λ²μμ λͺ¨λ `%` μ©μ΄μ | ||
λ²νΈκ° λ§€κ²¨μ Έ μλμ§, (B): μμ΄ ν μ€νΈμ μλ μμμ λ°λΌ λ²νΈκ° μ¬λ°λ₯Έμ§, κ·Έ λ κ°μ§λ₯Ό νμΈν΄μΌ | ||
ν©λλ€. | ||
|
||
μλ₯Ό λ€μλ©΄: | ||
|
||
``` | ||
#: map.cpp:680 | ||
#, c-format | ||
msgid "%s loses control of the %s." | ||
msgstr "%2$s eht fo lortnoc sesol %1$s" | ||
``` | ||
|
||
κ²μ λ΄μμ `μλΉκ²μΌ`μ΄ `νΈλ`μ μ΄μ νκ³ μλ€κ³ κ°μ ν λ `kcurt eht fo lortnoc sesol liagibA`λ‘ | ||
νμλ©λλ€. | ||
|
||
## λ¬Έμμ΄μ ν¬ν¨λ νΉμ νκ·Έ | ||
|
||
λ²μν λ μΌλΆ λ¬Έμμ΄μ μμ΄λ μμͺ½μ νΉμ νκ·Έκ° μμ μ μμ΅λλ€. μ΄λ¬ν νκ·Έλ κ·Έλλ‘ λκ³ λλ¨Έμ§ | ||
λ¬Έμμ΄λ§ λ²μν΄μΌ ν©λλ€. | ||
|
||
μλ₯Ό λ€μ΄, "data/raw/names.json"μ NPC λ° λμ μ΄λ¦ μμλ λ¨μ΄μμ μΆ©λμ νΌνκΈ° μν΄ `<name>`μ΄ | ||
λΆμ΅λλ€(μ: μ¬λ£μ `Wood`, μ±μ `Wood`). μ΄λ¬ν κ²½μ° `<name>` λΆλΆμ λ¨κ²¨ λμ΄μΌ ν©λλ€. | ||
|
||
μ΄νλ κ·Έ μμμ λλ€: | ||
|
||
``` | ||
#. ~ proper name; gender=female; usage=given | ||
#: lang/json/json_names.py:6 | ||
msgid "<name>Abigail" | ||
msgstr "<name>liagibA" | ||
``` | ||
|
||
λν μ΄λ¦ μμλ ν΄λΉ μ΄λ¦μ΄ κ²μ λ΄μμ μ΄λ€ μ©λλ‘ μ¬μ©λλμ§ μλ €μ£Όλ μ£Όμμ΄ νμλ©λλ€. μμμ | ||
κ²½μ° 'μλΉκ²μΌ'μ μ¬μ± NPCμ μ΄λ¦μΌλ‘ μ¬μ©ν μ μλ μ΄λ¦μ λλ€. | ||
|
||
## 볡μν μμ | ||
|
||
λ§μ μΈμ΄κ° μ¬λ¬Όμ μμ λ°λΌ λ€λ₯Έ μ©μ΄λ₯Ό μ¬μ©ν©λλ€. μ΄λ¬ν μ©μ΄λ `".po"` νμΌ ν€λμ `Plural-Form` | ||
μ€μ μ μλ 볡μνμ μ¬μ©νμ¬ μ§μλ©λλ€. | ||
|
||
μ΄ κ²½μ° μμ λ°λΌ λ€λ₯Έ νμμ μν μ¬λ¬ κ°μ `msgstr` μ€μ΄ μμ΅λλ€. κ²μμ κ°μμ λ°λΌ μλμΌλ‘ | ||
μ¬λ°λ₯Έ ννλ₯Ό μ νν©λλ€. | ||
|
||
μ΄νλ κ·Έ μμμ λλ€: | ||
|
||
``` | ||
#: melee.cpp:913 | ||
#, c-format | ||
msgid "%d enemy hit!" | ||
msgid_plural "%d enemies hit!" | ||
msgstr[0] "!tih ymene %d" | ||
msgstr[1] "!tih seimene %d" | ||
``` | ||
|
||
μ¬κΈ°μ 첫 λ²μ§Έ νλͺ©μ `enemy`κ° νλλ§ μμ λ, λ λ²μ§Έ νλͺ©μ `enemies`μ΄ νλλ³΄λ€ λ μμ λλ₯Ό | ||
λνλ λλ€. μ΄ κ·μΉμ μΈμ΄λ§λ€ ν¬κ² λ€λ¦ λλ€. | ||
|
||
> μμ£Ό: | ||
> | ||
> νκ΅μ΄λ ν΄λΉμ¬νμ΄ μμ΅λλ€. |
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,46 @@ | ||
--- | ||
title: Language Specific Style Guide | ||
--- | ||
|
||
:::note{title="This section is a template."} | ||
|
||
As this page is for language-specific notes, it shouldn't be translated. Instead, it's used as a | ||
template. [Check here for examples.](#writing-style-guide-for-your-language) | ||
|
||
::: | ||
|
||
## How to write one for your language | ||
|
||
1. [Find your language code.](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) | ||
2. Create `doc/src/content/docs/{your-language-code}/i18n/explanation/style.md`. | ||
3. If it doesn't, add your language to `doc/astro.config.ts` file, for example: | ||
|
||
```diff | ||
diff --git a/doc/astro.config.ts b/doc/astro.config.ts | ||
index da91c2e0014..3dafa248a06 100644 | ||
--- a/doc/astro.config.ts | ||
+++ b/doc/astro.config.ts | ||
@@ -41,6 +41,7 @@ export default defineConfig({ | ||
locales: { | ||
en: { label: "English" }, | ||
ko: { label: "νκ΅μ΄", lang: "ko-KR" }, | ||
+ ru: { label: "Π ΡΡΡΠΊΠΈΠΉ", lang: "ru-RU" }, | ||
}, | ||
logo: { src: "./src/assets/icon-round.svg" }, | ||
social: { github, discord }, | ||
``` | ||
|
||
In this example, it will allow russian language to be availble in language selector. Check | ||
[starlight](https://starlight.astro.build/guides/i18n/) for details. | ||
|
||
## Writing style guide for your language | ||
|
||
There's no restrictions on how or what to write in this file. For example, you could: | ||
|
||
- write language specific notes for other translaotrs to read | ||
- link to external resources or tools | ||
|
||
You could check out existing style guides for reference: | ||
|
||
- [Deutsch](../../../de/i18n/explanation/style.md) | ||
- [Russian](../../../ru/i18n/explanation/style.md) |
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,37 @@ | ||
--- | ||
title: μλ¬Έ μ€νμΌ κ°μ΄λ | ||
--- | ||
|
||
κ²μ λ΄ ν μ€νΈλ₯Ό μΆκ°νκ±°λ νΈμ§ν λλ μ΄νμ κ·μΉμ λ°λΌμ£ΌμΈμ: | ||
|
||
1. λ―Έκ΅μ μμ΄ μ² μλ₯Ό μ¬μ©ν©λλ€. | ||
|
||
2. λ§μΉ¨ν λ€μ λ λ¬Έμ₯ λμ΄μ°κΈ°λ₯Ό μ¬μ©ν©λλ€. μ¦, λ¬Έμ₯μ λλ΄λ λ§μΉ¨ν λ€μ λ κ°μ κ³΅λ°±μ΄ λ€μ λ | ||
κ°μ κ³΅λ°±μ΄ μμΌ ν©λλ€. λ¬Έμ₯μ΄ ν μ€νΈ λΈλ‘μ λ§μ§λ§ λ¬Έμ₯μΈ κ²½μ° κ·Έ λ€μ κ³΅λ°±μ΄ μμ΄μΌ ν©λλ€. | ||
|
||
3. 2μΈμΉ μμ μ μ¬μ©ν©λλ€(μ: "you"). | ||
|
||
4. νΉμ±, 무μ , μν μ체곡ν λͺ¨λ(Compact Bionic Modules, CBM)μ μ΄λ¦μ μ λͺ©μ λλ¬Έμλ‘ νκΈ°ν΄μΌ | ||
ν©λλ€. μ¦, κ΄μ¬, μ μΉμ¬ λλ μ μμ¬κ° μλ ν κ° λ¨μ΄λ λλ¬Έμλ‘ νκΈ°ν΄μΌ ν©λλ€. | ||
|
||
5. κ³ μ λͺ μ¬ μ΄λ¦μ νλͺ©κ³Ό κ°μ²΄λ μ λͺ©μ λμλ¬Έμλ₯Ό μ¬μ©ν΄μΌ ν©λλ€. | ||
|
||
6. λ€λ₯Έ λͺ¨λ νλͺ© λ° κ°μ²΄ μ΄λ¦μ λͺ¨λ μλ¬Έμλ‘ νκΈ°ν©λλ€. | ||
|
||
7. 3κ° μ΄μμ λμμ λμ΄ν λλ | ||
[μ°μ μΌν(μ₯μ€ν¬λ μΌν)](https://en.wikipedia.org/wiki/Serial_comma)λ₯Ό μ¬μ©ν©λλ€. | ||
|
||
:::caution{title="μ°μ μΌνλ₯Ό μ¬μ©νμ§ μμ μ"} | ||
|
||
A, B and C | ||
|
||
::: | ||
|
||
:::tip{title="μ°μ μΌνλ₯Ό μ¬μ©ν μ"} | ||
|
||
A, B, and C | ||
|
||
::: | ||
|
||
8. λ§μΉ¨ν 3κ°(...) λμ μ€μν λ¬Έμ(β¦)λ₯Ό μ¬μ©ν©λλ€. λ§μΉ¨νκ° μΈ κ° μλ κ²½μ° μ€μν μ μ© μ λμ½λ | ||
λ¬Έμ, μ¦ U+2026μΌλ‘ λ체ν©λλ€. |
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,33 @@ | ||
--- | ||
title: κ΄λ¦¬μλ₯Ό μν λ²μ λ³ν© λ° κ΄λ¦¬νκΈ° | ||
--- | ||
|
||
λ²μ νμΌμ μ¬λ°λ₯΄κ² λ³ν©νκ³ μ μ§ κ΄λ¦¬νλ €λ©΄ λͺ κ°μ§ λ¨κ³λ₯Ό μ¬λ°λ₯Έ μμλ‘ μνν΄μΌ ν©λλ€. | ||
|
||
μ΄λ₯Ό μν΄ μ 곡λλ μ€ν¬λ¦½νΈκ° μμΌλ―λ‘ λμ²΄λ‘ λ€μκ³Ό κ°μ κ³Όμ μ κ±°μΉκ² λ©λλ€: | ||
|
||
1. λ²μμ '.po' νμμΌλ‘ λ€μ΄λ‘λν©λλ€. | ||
2. λ²μ νμΌμ `lang/incoming/`μ λ£κ³ `lang/po/`μ μλ νμΌκ³Ό μ΄λ¦μ΄ μΌμΉνλλ‘ ν©λλ€. | ||
3. `lang/update_pot.sh`λ₯Ό μ€ννμ¬ `lang/po/cataclysm-BN.pot`μ μ λ°μ΄νΈν©λλ€(`polib` λ° | ||
`luaparser` λͺ¨λμ΄ μ€μΉλ νμ΄μ¬μ΄ νμν¨). | ||
4. `lang/merge_po.sh`λ₯Ό μ€ννμ¬ `lang/po/*.po`λ₯Ό μ λ°μ΄νΈν©λλ€. (λ‘컬μμ λ²μμ ν μ€νΈν λλ§ | ||
μ°μ λλ€. μ§κΈμ Transifexλ‘ νλ‘μ νΈλ₯Ό λ²μνκΈ° λλ¬Έμ λλ€.) μ΄λ κ² νλ©΄ `lang/incoming/`μ | ||
λ²μλ λ³ν©λ©λλ€. | ||
|
||
μ΄ λ¨κ³λ§ κ±°μΉλ©΄ λ²μ νμΌμ μ΅μ μνλ‘ μ μ§ν μ μμ΅λλ€. | ||
|
||
.po νμΌμ `.mo` νμΌλ‘ μ»΄νμΌνμ¬ μ¬μ©νλ €λ©΄ `lang/compile_mo.sh`λ₯Ό μ€νν©λλ€. μ΄ λͺ λ Ήμ λ°κ²¬λ κ° | ||
μΈμ΄μ λν΄ `lang/mo/`μ λλ ν°λ¦¬λ₯Ό μμ±ν©λλ€. | ||
|
||
μ°Έκ³ λ‘ `lang/merge_po.sh`μ `lang/compile_mo.sh` λͺ¨λ λ³ν© λλ μ»΄νμΌν μΈμ΄λ₯Ό μ§μ νλ μΈμλ₯Ό | ||
μ¬μ©ν μ μμ΅λλ€. μλ₯Ό λ€μ΄ μ€κ΅μ΄ λ²μ²΄(zh_TW)μ λν λ²μλ§ μ»΄νμΌνλ €λ©΄ | ||
`lang/compile_mo.sh zh_TW`λ₯Ό μ€ννλ©΄ λ©λλ€. | ||
|
||
μ μ ν .mo νμΌμ μ»΄νμΌν ν, κ²μ μ€μ μμ ν΄λΉ μΈμ΄λ₯Ό μ ννλ©΄ μΉ΄νν΄λ¦¬μ¦μ μ€νν λ ν΄λΉ λ²μμ΄ | ||
μλμΌλ‘ μ¬μ©λ©λλ€. | ||
|
||
μ€μ μμ `System language`λ₯Ό μ νν κ²½μ°, κ²μμ μΈμ΄ μ μ νμΌ `data/raw/languages.json`μ κΈ°λ°μΌλ‘ | ||
μμ€ν μΈμ΄μ μΌμΉνλ μΈμ΄λ₯Ό μ¬μ©νλ €κ³ μλν©λλ€. | ||
|
||
μ μΈμ΄μ λν λ²μμ ν μ€νΈ μ€μ΄κ±°λ μ€μ μ ν΄λΉ μΈμ΄κ° νμλμ§ μλ κ²½μ°, μΈμ΄ μ μ νμΌμ ν΄λΉ | ||
μΈμ΄μ λν νλͺ©μ΄ μλμ§ νμΈνμΈμ. |
Oops, something went wrong.