diff options
| author | 2020-05-15 17:31:21 +0200 | |
|---|---|---|
| committer | 2020-05-15 17:31:21 +0200 | |
| commit | 8487fa6248d1d5dac81640de9c55c1eab9f324b3 (patch) | |
| tree | f3209fdeb8341870bd4fe765e30a0a395a12c4ea /app/i18n/kr/sub.php | |
| parent | 62a42a20630c5dfb4a677a42bbc3dd6c7cd203d2 (diff) | |
Reformat i18n correctly (#2976)
* Ignore i18n gen.dir key
* Add a makefile target to update an i18n key
* Mark some i18n keys to ignore
* Reformat i18n files correctly
* Make i18n keys sort case-sensitive
Calling `make i18n-format` was always inverting 4 lines:
- gen.date.dec with gen.date.Dec
- and gen.date.nov with gen.date.Nov
I don't know why these particular lines and not the others, but it
appeared the sort function was case insensitive due to the
`SORT_FLAG_CASE` flag passed to the `ksort` function. Removing this flag
makes the calls to the formatter idempotent and more reliable.
Unfortunately it moves a lot of lines since the `_` character is
considered differently.
* Check i18n files are correctly formatted on Travis
Diffstat (limited to 'app/i18n/kr/sub.php')
| -rw-r--r-- | app/i18n/kr/sub.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/i18n/kr/sub.php b/app/i18n/kr/sub.php index 934bef88d..a6e2dd061 100644 --- a/app/i18n/kr/sub.php +++ b/app/i18n/kr/sub.php @@ -11,6 +11,7 @@ return array( 'title' => '북마클릿', ), 'category' => array( + '_' => '카테고리', 'add' => '카테고리 추가', 'archiving' => '보관', 'empty' => '빈 카테고리', @@ -19,7 +20,6 @@ return array( 'position' => 'Display position', // TODO - Translation 'position_help' => 'To control category sort order', // TODO - Translation 'title' => '제목', - '_' => '카테고리', ), 'feed' => array( 'add' => 'RSS 피드 추가', @@ -39,16 +39,16 @@ return array( 'empty' => '이 피드는 비어있습니다. 피드가 계속 운영되고 있는지 확인하세요.', 'error' => '이 피드에 문제가 발생했습니다. 이 피드에 접근 권한이 있는지 확인하세요.', 'filteractions' => array( - 'help' => 'Write one search filter per line.', // TODO - Translation '_' => 'Filter actions', // TODO - Translation + 'help' => 'Write one search filter per line.', // TODO - Translation ), 'information' => '정보', 'keep_min' => '최소 유지 글 개수', 'maintenance' => array( 'clear_cache' => 'Clear cache', // TODO - Translation - 'clear_cache_help' => 'Clear the cache of this feed on disk', // TODO - Translation + 'clear_cache_help' => 'Clear the cache for this feed.', // TODO - Translation 'reload_articles' => 'Reload articles', // TODO - Translation - 'reload_articles_help' => 'Reload articles and fetch complete content', // TODO - Translation + 'reload_articles_help' => 'Reload articles and fetch complete content if a selector is defined.', // TODO - Translation 'title' => 'Maintenance', // TODO - Translation ), 'moved_category_deleted' => '카테고리를 삭제하면, 해당 카테고리 아래에 있던 피드들은 자동적으로 <em>%s</em> 아래로 분류됩니다.', @@ -56,13 +56,13 @@ return array( 'no_selected' => '선택된 피드가 없습니다.', 'number_entries' => '%d 개의 글', 'priority' => array( + '_' => '표시', 'archived' => '표시하지 않음 (보관됨)', 'main_stream' => '메인 스트림에 표시하기', 'normal' => '피드가 속한 카테고리에만 표시하기', - '_' => '표시', ), 'selector_preview' => array( - 'show_raw' => 'Show source', // TODO - Translation + 'show_raw' => 'Show source code', // TODO - Translation 'show_rendered' => 'Show content', // TODO - Translation ), 'show' => array( @@ -108,8 +108,8 @@ return array( 'subscription_tools' => '구독 도구', ), 'title' => array( + '_' => '구독 관리', 'feed_management' => 'RSS 피드 관리', 'subscription_tools' => '구독 도구', - '_' => '구독 관리', ), ); |
