diff options
| author | 2022-01-08 08:00:26 -0500 | |
|---|---|---|
| committer | 2022-01-08 14:00:26 +0100 | |
| commit | 127b7f0a3aad7012055c058e8aba0d27192a8cbc (patch) | |
| tree | 8ec9a5948672e702c944c202f78294b81104582f /app/i18n/ko | |
| parent | ed19445f74c30854c60873cd1df1c38e15fc316b (diff) | |
Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome
for new comers. Now, this info is stored directly in the translation file as a
comment.
Before, there was no way of telling translators that a previously translated string
was in need of a new translation. Now, the dirty information is there to convey that
info.
Diffstat (limited to 'app/i18n/ko')
| -rw-r--r-- | app/i18n/ko/admin.php | 10 | ||||
| -rw-r--r-- | app/i18n/ko/conf.php | 24 | ||||
| -rw-r--r-- | app/i18n/ko/feedback.php | 10 | ||||
| -rw-r--r-- | app/i18n/ko/gen.php | 108 | ||||
| -rw-r--r-- | app/i18n/ko/index.php | 12 | ||||
| -rw-r--r-- | app/i18n/ko/install.php | 10 | ||||
| -rw-r--r-- | app/i18n/ko/sub.php | 12 | ||||
| -rw-r--r-- | app/i18n/ko/user.php | 10 |
8 files changed, 138 insertions, 58 deletions
diff --git a/app/i18n/ko/admin.php b/app/i18n/ko/admin.php index cf2f89328..4a04f6fce 100644 --- a/app/i18n/ko/admin.php +++ b/app/i18n/ko/admin.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'auth' => array( 'allow_anonymous' => '누구나 기본 사용자의 글을 읽을 수 있도록 합니다(%s)', diff --git a/app/i18n/ko/conf.php b/app/i18n/ko/conf.php index efcfaadb9..12a14a020 100644 --- a/app/i18n/ko/conf.php +++ b/app/i18n/ko/conf.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'archiving' => array( '_' => '보관', @@ -163,20 +173,20 @@ return array( 'sharing' => array( '_' => '공유', 'add' => '공유 방법 추가', - 'blogotext' => 'Blogotext', - 'diaspora' => 'Diaspora*', + 'blogotext' => 'Blogotext', // IGNORE + 'diaspora' => 'Diaspora*', // IGNORE 'email' => '메일', - 'facebook' => 'Facebook', + 'facebook' => 'Facebook', // IGNORE 'more_information' => '자세한 정보', 'print' => '인쇄', - 'raindrop' => 'Raindrop.io', + 'raindrop' => 'Raindrop.io', // IGNORE 'remove' => '공유 방법 삭제', - 'shaarli' => 'Shaarli', + 'shaarli' => 'Shaarli', // IGNORE 'share_name' => '표시할 이름', 'share_url' => '사용할 공유 URL', 'title' => '공유', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag', + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag', // IGNORE ), 'shortcut' => array( '_' => '단축키', diff --git a/app/i18n/ko/feedback.php b/app/i18n/ko/feedback.php index 7a1de6be4..c1ecd02d7 100644 --- a/app/i18n/ko/feedback.php +++ b/app/i18n/ko/feedback.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'access' => array( 'denied' => '이 페이지에 접근할 수 있는 권한이 없습니다', diff --git a/app/i18n/ko/gen.php b/app/i18n/ko/gen.php index c810574ff..c3f0c5fa1 100644 --- a/app/i18n/ko/gen.php +++ b/app/i18n/ko/gen.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'action' => array( 'actualize' => '새 글 가져오기', @@ -48,18 +58,18 @@ return array( ), ), 'date' => array( - 'Apr' => '\\4\\월', - 'Aug' => '\\8\\월', - 'Dec' => '\\1\\2\\월', - 'Feb' => '\\2\\월', - 'Jan' => '\\1\\월', - 'Jul' => '\\7\\월', - 'Jun' => '\\6\\월', - 'Mar' => '\\3\\월', - 'May' => '\\5\\월', - 'Nov' => '\\1\\1\\월', - 'Oct' => '\\1\\0\\월', - 'Sep' => '\\9\\월', + 'Apr' => '\\4\\월', // IGNORE + 'Aug' => '\\8\\월', // IGNORE + 'Dec' => '\\1\\2\\월', // IGNORE + 'Feb' => '\\2\\월', // IGNORE + 'Jan' => '\\1\\월', // IGNORE + 'Jul' => '\\7\\월', // IGNORE + 'Jun' => '\\6\\월', // IGNORE + 'Mar' => '\\3\\월', // IGNORE + 'May' => '\\5\\월', // IGNORE + 'Nov' => '\\1\\1\\월', // IGNORE + 'Oct' => '\\1\\0\\월', // IGNORE + 'Sep' => '\\9\\월', // IGNORE 'apr' => '4월', 'april' => '4월', 'aug' => '8월', @@ -106,9 +116,9 @@ return array( 'wed' => '수', 'yesterday' => '어제', ), - 'dir' => 'ltr', + 'dir' => 'ltr', // IGNORE 'freshrss' => array( - '_' => 'FreshRSS', + '_' => 'FreshRSS', // IGNORE 'about' => '정보', ), 'js' => array( @@ -124,24 +134,24 @@ return array( 'should_be_activated' => '자바스크립트를 사용하도록 설정해야합니다', ), 'lang' => array( - 'cz' => 'Čeština', - 'de' => 'Deutsch', - 'en' => 'English', - 'en-us' => 'English (United States)', - 'es' => 'Español', - 'fr' => 'Français', - 'he' => 'עברית', - 'it' => 'Italiano', - 'ja' => '日本語', - 'ko' => '한국어', - 'nl' => 'Nederlands', - 'oc' => 'Occitan', - 'pl' => 'Polski', - 'pt-br' => 'Português (Brasil)', - 'ru' => 'Русский', - 'sk' => 'Slovenčina', - 'tr' => 'Türkçe', - 'zh-cn' => '简体中文', + 'cz' => 'Čeština', // IGNORE + 'de' => 'Deutsch', // IGNORE + 'en' => 'English', // IGNORE + 'en-us' => 'English (United States)', // IGNORE + 'es' => 'Español', // IGNORE + 'fr' => 'Français', // IGNORE + 'he' => 'עברית', // IGNORE + 'it' => 'Italiano', // IGNORE + 'ja' => '日本語', // IGNORE + 'ko' => '한국어', // IGNORE + 'nl' => 'Nederlands', // IGNORE + 'oc' => 'Occitan', // IGNORE + 'pl' => 'Polski', // IGNORE + 'pt-br' => 'Português (Brasil)', // IGNORE + 'ru' => 'Русский', // IGNORE + 'sk' => 'Slovenčina', // IGNORE + 'tr' => 'Türkçe', // IGNORE + 'zh-cn' => '简体中文', // IGNORE ), 'menu' => array( 'about' => '정보', @@ -182,26 +192,26 @@ return array( 'years' => '년', ), 'share' => array( - 'Known' => 'Known based sites', - 'blogotext' => 'Blogotext', + 'Known' => 'Known based sites', // IGNORE + 'blogotext' => 'Blogotext', // IGNORE 'clipboard' => '클립보드', - 'diaspora' => 'Diaspora*', + 'diaspora' => 'Diaspora*', // IGNORE 'email' => '메일', - 'facebook' => 'Facebook', - 'gnusocial' => 'GNU social', - 'jdh' => 'Journal du hacker', - 'lemmy' => 'Lemmy', - 'linkedin' => 'LinkedIn', - 'mastodon' => 'Mastodon', - 'movim' => 'Movim', - 'pinboard' => 'Pinboard', - 'pocket' => 'Pocket', + 'facebook' => 'Facebook', // IGNORE + 'gnusocial' => 'GNU social', // IGNORE + 'jdh' => 'Journal du hacker', // IGNORE + 'lemmy' => 'Lemmy', // IGNORE + 'linkedin' => 'LinkedIn', // IGNORE + 'mastodon' => 'Mastodon', // IGNORE + 'movim' => 'Movim', // IGNORE + 'pinboard' => 'Pinboard', // IGNORE + 'pocket' => 'Pocket', // IGNORE 'print' => '인쇄', - 'raindrop' => 'Raindrop.io', - 'shaarli' => 'Shaarli', - 'twitter' => 'Twitter', - 'wallabag' => 'wallabag v1', - 'wallabagv2' => 'wallabag v2', + 'raindrop' => 'Raindrop.io', // IGNORE + 'shaarli' => 'Shaarli', // IGNORE + 'twitter' => 'Twitter', // IGNORE + 'wallabag' => 'wallabag v1', // IGNORE + 'wallabagv2' => 'wallabag v2', // IGNORE ), 'short' => array( 'attention' => '경고!', diff --git a/app/i18n/ko/index.php b/app/i18n/ko/index.php index 0f66af319..8c4bfe545 100644 --- a/app/i18n/ko/index.php +++ b/app/i18n/ko/index.php @@ -1,9 +1,19 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'about' => array( '_' => '정보', - 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', + 'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', // IGNORE 'bugs_reports' => '버그 제보하기', 'credits' => '크레딧', 'credits_content' => 'FreshRSS는 <a href="http://twitter.github.io/bootstrap/">Bootstrap</a> 프레임워크를 사용하진 않지만, 일부 디자인 요소를 가져왔습니다. <a href="https://git.gnome.org/browse/gnome-icon-theme-symbolic">아이콘들</a>은 <a href="https://www.gnome.org/">GNOME 프로젝트</a>에서 가져왔습니다. <em>Open Sans</em> 글꼴은 <a href="https://fonts.google.com/specimen/Open+Sans">Steve Matteson</a>가 제작하였습니다. FreshRSS는 PHP 프레임워크인 <a href="https://github.com/marienfressinaud/MINZ">Minz</a>에 기반하고 있습니다.', diff --git a/app/i18n/ko/install.php b/app/i18n/ko/install.php index ca86ddc7f..95e328951 100644 --- a/app/i18n/ko/install.php +++ b/app/i18n/ko/install.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'action' => array( 'finish' => '설치 완료', diff --git a/app/i18n/ko/sub.php b/app/i18n/ko/sub.php index dc4474888..27b1f8bfa 100644 --- a/app/i18n/ko/sub.php +++ b/app/i18n/ko/sub.php @@ -1,9 +1,19 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'api' => array( 'documentation' => '외부 도구에서 API를 사용하기 위해서 아래 URL을 사용하세요.', - 'title' => 'API', + 'title' => 'API', // IGNORE ), 'bookmarklet' => array( 'documentation' => '이 버튼을 즐겨찾기 막대로 끌어다 놓거나 마우스 오른쪽 클릭으로 나타나는 메뉴에서 "이 링크를 즐겨찾기에 추가"를 선택하세요. 그리고 피드를 구독하길 원하는 페이지에서 "구독하기" 버튼을 클릭하세요.', diff --git a/app/i18n/ko/user.php b/app/i18n/ko/user.php index 0fb94bef0..ad88d7b58 100644 --- a/app/i18n/ko/user.php +++ b/app/i18n/ko/user.php @@ -1,5 +1,15 @@ <?php +/******************************************************************************/ +/* Each entry of that file can be associated with a comment to indicate its */ +/* state. When there is no comment, it means the entry is fully translated. */ +/* The recognized comments are (comment matching is case-insensitive): */ +/* + TODO: the entry has never been translated. */ +/* + DIRTY: the entry has been translated but needs to be updated. */ +/* + IGNORE: the entry does not need to be translated. */ +/* When a comment is not recognized, it is discarded. */ +/******************************************************************************/ + return array( 'email' => array( 'feedback' => array( |
