diff options
| author | 2019-12-04 08:27:39 +0100 | |
|---|---|---|
| committer | 2019-12-04 08:27:39 +0100 | |
| commit | 3e49b44839237693ce1a8151325942704917f6c6 (patch) | |
| tree | 75a1af8089d48d3bb14de2d9d98c503ee76433e2 /app/i18n/kr/gen.php | |
| parent | de2b323847e0a91119625e4f506f51ec9d43872f (diff) | |
Update i18n cli tools (#2673)
* Update i18n cli tools
Few things were bugging me when using the cli tool for i18n. So I've modified
the tools to be easier to use.
First, the tool automatically adds missing keys to all languages. This way, we
always have all keys in all languages.
Second, the tool detects all untranslated keys and adds automatically the todo
comment after the value.
Third, when adding a new key, the key is pushed to all languages at once. There
is no need to duplicate it manually. Thus making the duplication process obsolete.
Fourth, translation and ignore keys are manipulated at the same time. Thus we
don't have obsolete ignored strings anymore.
* Add i18n rules
I find that having the common rules in the Makefile is easier to use,
as long as you know they are here. As it is self documented, people
will see the new rules when using make.
* Use long parameters in Makefile
I find that using long parameters in scripts makes it easier to understand
what's going on. So I've switched all short parameters to long one.
* Format all i18n files
I've used the updated version of the cli tools to have some output
that can be consistently formated. This commit is a huge formating
commit. Nothing was added but some comments were removed in the
process.
Diffstat (limited to 'app/i18n/kr/gen.php')
| -rw-r--r-- | app/i18n/kr/gen.php | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/app/i18n/kr/gen.php b/app/i18n/kr/gen.php index b6a975606..45a053386 100644 --- a/app/i18n/kr/gen.php +++ b/app/i18n/kr/gen.php @@ -3,7 +3,7 @@ return array( 'action' => array( 'actualize' => '새 글 가져오기', - 'back' => '← Go back', //TODO - Translation + 'back' => '← Go back', // TODO - Translation 'back_to_rss_feeds' => '← RSS 피드로 돌아가기', 'cancel' => '취소', 'create' => '생성', @@ -24,25 +24,25 @@ return array( 'update' => '변경', ), 'auth' => array( - 'accept_tos' => 'I accept the <a href="%s">Terms of Service</a>.', // TODO - Translation + 'accept_tos' => 'I accept the <a href="%s">Terms of Service</a>.', // TODO - Translation 'email' => '메일 주소', 'keep_logged_in' => '로그인 유지 <small>(%s 일)</small>', 'login' => '로그인', 'logout' => '로그아웃', 'password' => array( - '_' => '암호', 'format' => '<small>7 글자 이상이어야 합니다</small>', + '_' => '암호', ), 'registration' => array( - '_' => '새 계정', 'ask' => '새 계정을 만들까요?', 'title' => '계정 생성', + '_' => '새 계정', ), 'reset' => '인증 초기화', 'username' => array( - '_' => '사용자 이름', 'admin' => '관리자 이름', 'format' => '<small>알파벳과 숫자를 포함할 수 있고 최대 16 글자</small>', + '_' => '사용자 이름', ), ), 'date' => array( @@ -65,8 +65,8 @@ return array( 'Jan' => '\\J\\a\\n\\u\\a\\r\\y', 'jan' => '1월', 'january' => '1월', - 'Jul' => '\\J\\u\\l\\y', 'jul' => '7월', + 'Jul' => '\\J\\u\\l\\y', 'july' => '7월', 'Jun' => '\\J\\u\\n\\e', 'jun' => '6월', @@ -76,15 +76,15 @@ return array( 'last_month' => '최근 한 달', 'last_week' => '최근 한 주', 'last_year' => '최근 일 년', - 'Mar' => '\\M\\a\\r\\c\\h', 'mar' => '3월', + 'Mar' => '\\M\\a\\r\\c\\h', 'march' => '3월', 'May' => '\\M\\a\\y', 'may' => '5월', 'may_' => '5월', - 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r', 'mon' => '월', 'month' => '개월', + 'Nov' => '\\N\\o\\v\\e\\m\\b\\e\\r', 'nov' => '11월', 'november' => '11월', 'Oct' => '\\O\\c\\t\\o\\b\\e\\r', @@ -102,8 +102,8 @@ return array( 'yesterday' => '어제', ), 'freshrss' => array( - '_' => 'FreshRSS', 'about' => '정보', + '_' => 'FreshRSS', ), 'js' => array( 'category_empty' => '빈 카테고리', @@ -130,6 +130,7 @@ return array( 'oc' => 'Occitan', 'pt-br' => 'Português (Brasil)', 'ru' => 'Русский', + 'sk' => 'Slovenčina', // TODO - Translation 'tr' => 'Türkçe', 'zh-cn' => '简体中文', ), @@ -164,11 +165,11 @@ return array( 'previous' => '이전', ), 'period' => array( - 'days' => 'days', //TODO - Translation - 'hours' => 'hours', //TODO - Translation - 'months' => 'months', //TODO - Translation - 'weeks' => 'weeks', //TODO - Translation - 'years' => 'years', //TODO - Translation + 'days' => 'days', // TODO - Translation + 'hours' => 'hours', // TODO - Translation + 'months' => 'months', // TODO - Translation + 'weeks' => 'weeks', // TODO - Translation + 'years' => 'years', // TODO - Translation ), 'share' => array( 'blogotext' => 'Blogotext', |
