From 8a6b7373a076ceb613290c465c79ea6931430cdb Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 8 Jul 2018 15:40:38 +0200 Subject: [PATCH] Remove the `jp-JP-mac` locale It gives warnings when running `gulp locale`, in a previous patch it was explicitly asked to remove it and there is quite a bit of discussion about the validity of the locale at https://bugzilla.mozilla.org/show_bug.cgi?id=418485. In short, let's remove it to prevent these issues. --- external/importL10n/locales.js | 12 +- l10n/ja-JP-mac/chrome.properties | 19 --- l10n/ja-JP-mac/viewer.properties | 215 ------------------------------- 3 files changed, 6 insertions(+), 240 deletions(-) delete mode 100644 l10n/ja-JP-mac/chrome.properties delete mode 100644 l10n/ja-JP-mac/viewer.properties diff --git a/external/importL10n/locales.js b/external/importL10n/locales.js index 1a7d6b218..8b5645c73 100644 --- a/external/importL10n/locales.js +++ b/external/importL10n/locales.js @@ -27,12 +27,12 @@ var langCodes = [ 'el', 'en-CA', 'en-GB', 'en-ZA', 'eo', 'es-AR', 'es-CL', 'es-ES', 'es-MX', 'et', 'eu', 'fa', 'ff', 'fi', 'fr', 'fy-NL', 'ga-IE', 'gd', 'gl', 'gn', 'gu-IN', 'he', 'hi-IN', 'hr', 'hsb', 'hto', 'hu', 'hy-AM', 'ia', 'id', 'is', - 'it', 'ja', 'ja-JP-mac', 'ka', 'kab', 'kk', 'km', 'kn', 'ko', 'kok', 'ks', - 'ku', 'lg', 'lij', 'lo', 'lt', 'ltg', 'lv', 'mai', 'meh', 'mk', 'ml', 'mn', - 'mr', 'ms', 'my', 'nb-NO', 'ne-NP', 'nl', 'nn-NO', 'nso', 'oc', 'or', 'pa-IN', - 'pl', 'pt-BR', 'pt-PT', 'rm', 'ro', 'ru', 'rw', 'sah', 'sat', 'si', 'sk', - 'sl', 'son', 'sq', 'sr', 'sv-SE', 'sw', 'ta', 'ta-LK', 'te', 'th', 'tl', 'tn', - 'tr', 'tsz', 'uk', 'ur', 'uz', 'vi', 'wo', 'xh', 'zam', 'zh-CN', 'zh-TW', 'zu' + 'it', 'ja', 'ka', 'kab', 'kk', 'km', 'kn', 'ko', 'kok', 'ks', 'ku', 'lg', + 'lij', 'lo', 'lt', 'ltg', 'lv', 'mai', 'meh', 'mk', 'ml', 'mn', 'mr', 'ms', + 'my', 'nb-NO', 'ne-NP', 'nl', 'nn-NO', 'nso', 'oc', 'or', 'pa-IN', 'pl', + 'pt-BR', 'pt-PT', 'rm', 'ro', 'ru', 'rw', 'sah', 'sat', 'si', 'sk', 'sl', + 'son', 'sq', 'sr', 'sv-SE', 'sw', 'ta', 'ta-LK', 'te', 'th', 'tl', 'tn', 'tr', + 'tsz', 'uk', 'ur', 'uz', 'vi', 'wo', 'xh', 'zam', 'zh-CN', 'zh-TW', 'zu' ]; function normalizeText(s) { diff --git a/l10n/ja-JP-mac/chrome.properties b/l10n/ja-JP-mac/chrome.properties deleted file mode 100644 index 3c59f58ec..000000000 --- a/l10n/ja-JP-mac/chrome.properties +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2012 Mozilla Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Chrome notification bar messages and buttons -unsupported_feature=この PDF 文書はサポートされていないため正しく表示できない可能性があります。 -unsupported_feature_forms=この PDF ドキュメントは、フォームが含まれています。フォームフィールドへの入力はサポートされていません。 -open_with_different_viewer=ほかのビューアーで開く -open_with_different_viewer.accessKey=o diff --git a/l10n/ja-JP-mac/viewer.properties b/l10n/ja-JP-mac/viewer.properties deleted file mode 100644 index 4d71e8855..000000000 --- a/l10n/ja-JP-mac/viewer.properties +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 2012 Mozilla Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Main toolbar buttons (tooltips and alt text for images) -previous.title=前のページへ戻ります -previous_label=前へ -next.title=次のページへ進みます -next_label=次へ - -# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. -page.title=ページ -# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number -# representing the total number of pages in the document. -of_pages=/ {{pagesCount}} -# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" -# will be replaced by a number representing the currently visible page, -# respectively a number representing the total number of pages in the document. -page_of_pages=({{pageNumber}} / {{pagesCount}}) - -zoom_out.title=表示を縮小します -zoom_out_label=縮小 -zoom_in.title=表示を拡大します -zoom_in_label=拡大 -zoom.title=拡大/縮小 -presentation_mode.title=プレゼンテーションモードに切り替えます -presentation_mode_label=プレゼンテーションモード -open_file.title=ファイルを開きます -open_file_label=開く -print.title=プリントします -print_label=プリント -download.title=ダウンロードします -download_label=ダウンロード -bookmark.title=現在のビューの URL です (コピーまたは新規ウインドウに開く) -bookmark_label=現在のビュー - -# Secondary toolbar and context menu -tools.title=ツール -tools_label=ツール -first_page.title=最初のページへ移動します -first_page.label=最初のページへ移動 -first_page_label=最初のページへ移動 -last_page.title=最後のページへ移動します -last_page.label=最後のページへ移動 -last_page_label=最後のページへ移動 -page_rotate_cw.title=ページを右へ回転します -page_rotate_cw.label=右回転 -page_rotate_cw_label=右回転 -page_rotate_ccw.title=ページを左へ回転します -page_rotate_ccw.label=左回転 -page_rotate_ccw_label=左回転 - -cursor_text_select_tool.title=テキスト選択ツールを有効にする -cursor_text_select_tool_label=テキスト選択ツール -cursor_hand_tool.title=手のひらツールを有効にする -cursor_hand_tool_label=手のひらツール - -scroll_vertical.title=縦スクロールにする -scroll_vertical_label=縦スクロール -scroll_horizontal.title=横スクロールにする -scroll_horizontal_label=横スクロール -scroll_wrapped.title=折り返しスクロールにする -scroll_wrapped_label=折り返しスクロール - -spread_none.title=見開きにしない -spread_none_label=見開きにしない -spread_odd.title=奇数ページ開始で見開きにする -spread_odd_label=奇数ページ見開き -spread_even.title=偶数ページ開始で見開きにする -spread_even_label=偶数ページ見開き - -# Document properties dialog box -document_properties.title=文書の情報... -document_properties_label=文書の情報... -document_properties_file_name=ファイル名: -document_properties_file_size=ファイルサイズ: -# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" -# will be replaced by the PDF file size in kilobytes, respectively in bytes. -document_properties_kb={{size_kb}} KB ({{size_b}} bytes) -# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" -# will be replaced by the PDF file size in megabytes, respectively in bytes. -document_properties_mb={{size_mb}} MB ({{size_b}} bytes) -document_properties_title=タイトル: -document_properties_author=作成者: -document_properties_subject=件名: -document_properties_keywords=キーワード: -document_properties_creation_date=作成日: -document_properties_modification_date=更新日: -# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" -# will be replaced by the creation/modification date, and time, of the PDF file. -document_properties_date_string={{date}}, {{time}} -document_properties_creator=アプリケーション: -document_properties_producer=PDF 作成: -document_properties_version=PDF のバージョン: -document_properties_page_count=ページ数: -document_properties_page_size=ページサイズ: -document_properties_page_size_unit_inches=in -document_properties_page_size_unit_millimeters=mm -document_properties_page_size_orientation_portrait=縦 -document_properties_page_size_orientation_landscape=横 -document_properties_page_size_name_a3=A3 -document_properties_page_size_name_a4=A4 -document_properties_page_size_name_letter=レター -document_properties_page_size_name_legal=リーガル -# LOCALIZATION NOTE (document_properties_page_size_dimension_string): -# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by -# the size, respectively their unit of measurement and orientation, of the (current) page. -document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) -# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): -# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by -# the size, respectively their unit of measurement, name, and orientation, of the (current) page. -document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) -document_properties_close=閉じる - -print_progress_message=文書のプリントを準備しています... -# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by -# a numerical per cent value. -print_progress_percent={{progress}}% -print_progress_close=キャンセル - -# Tooltips and alt text for side panel toolbar buttons -# (the _label strings are alt text for the buttons, the .title strings are -# tooltips) -toggle_sidebar.title=サイドバー表示を切り替えます -toggle_sidebar_notification.title=サイドバー表示を切り替えます (文書に含まれるアウトライン / 添付) -toggle_sidebar_label=サイドバーの切り替え -document_outline.title=文書の目次を表示します (ダブルクリックで項目を開閉します) -document_outline_label=文書の目次 -attachments.title=添付ファイルを表示します -attachments_label=添付ファイル -thumbs.title=縮小版を表示します -thumbs_label=縮小版 -findbar.title=文書内を検索します -findbar_label=検索 - -# Thumbnails panel item (tooltip and alt text for images) -# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page -# number. -thumb_page_title={{page}} ページ -# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page -# number. -thumb_page_canvas=ページの縮小版 {{page}} - -# Find panel button title and messages -find_input.title=検索 -find_input.placeholder=文書内を検索... -find_previous.title=現在より前の位置で指定文字列が現れる部分を検索します -find_previous_label=前へ -find_next.title=現在より後の位置で指定文字列が現れる部分を検索します -find_next_label=次へ -find_highlight=すべて強調表示 -find_match_case_label=大文字/小文字を区別 -find_reached_top=文書先頭に到達したので末尾から続けて検索します -find_reached_bottom=文書末尾に到達したので先頭から続けて検索します -find_not_found=見つかりませんでした - -# Error panel labels -error_more_info=詳細情報 -error_less_info=詳細情報を隠す -error_close=閉じる -# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be -# replaced by the PDF.JS version and build ID. -error_version_info=PDF.js v{{version}} (ビルド: {{build}}) -# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an -# english string describing the error. -error_message=メッセージ: {{message}} -# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack -# trace. -error_stack=スタック: {{stack}} -# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename -error_file=ファイル: {{file}} -# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number -error_line=行: {{line}} -rendering_error=ページのレンダリング中にエラーが発生しました。 - -# Predefined zoom values -page_scale_width=幅に合わせる -page_scale_fit=ページのサイズに合わせる -page_scale_auto=自動ズーム -page_scale_actual=実際のサイズ -# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a -# numerical scale value. -page_scale_percent={{scale}}% - -# Loading indicator messages -loading_error_indicator=エラー -loading_error=PDF の読み込み中にエラーが発生しました。 -invalid_file_error=無効または破損した PDF ファイル。 -missing_file_error=PDF ファイルが見つかりません。 -unexpected_response_error=サーバーから予期せぬ応答がありました。 - -# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. -# "{{type}}" will be replaced with an annotation type from a list defined in -# the PDF spec (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -text_annotation_type.alt=[{{type}} 注釈] -password_label=この PDF ファイルを開くためのパスワードを入力してください。 -password_invalid=無効なパスワードです。もう一度やり直してください。 -password_ok=OK -password_cancel=キャンセル - -printing_not_supported=警告: このブラウザーではプリントが完全にサポートされていません。 -printing_not_ready=警告: PDF をプリントするための読み込みが終了していません。 -web_fonts_disabled=ウェブフォントが無効になっています: 埋め込まれた PDF のフォントを使用できません。 -document_colors_not_allowed=PDF 文書は、ウェブページが指定したカラーを使用することができません: 'ウェブページが指定したカラー' はブラウザーで無効になっています。