By making dictionary keys be sensible strings, we make it so the i18n function returns something legible when there are no dictionaries included in a build. This means that strings from the Graticule, Permalink, LayerSwitcher, and Scale controls will be displayed in English without having to include the English dictionary (as is the case in our full build).
Note that if you use the OpenLayers.i18n method in your applications, five of the dictionary keys have changed. Use the following replacements:
* "permalink" -> "Permalink"
* "overlays" -> "Overlays"
* "baseLayer" -> "Base Layer"
* "scale" -> "Scale = 1 : ${scaleDenom}"
* "graticule" -> "Graticule"
r=ahocevar (closes #3364)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
81 lines
5.3 KiB
JavaScript
81 lines
5.3 KiB
JavaScript
/* Translators (2009 onwards):
|
|
* - Fryed-peach
|
|
* - Mage Whopper
|
|
*/
|
|
|
|
/**
|
|
* @requires OpenLayers/Lang.js
|
|
*/
|
|
|
|
/**
|
|
* Namespace: OpenLayers.Lang["ja"]
|
|
* Dictionary for 日本語. Keys for entries are used in calls to
|
|
* <OpenLayers.Lang.translate>. Entry bodies are normal strings or
|
|
* strings formatted for use with <OpenLayers.String.format> calls.
|
|
*/
|
|
OpenLayers.Lang["ja"] = OpenLayers.Util.applyDefaults({
|
|
|
|
'unhandledRequest': "未処理の要求は ${statusText} を返します",
|
|
|
|
'Permalink': "パーマリンク",
|
|
|
|
'Overlays': "オーバーレイ",
|
|
|
|
'Base Layer': "基底レイヤー",
|
|
|
|
'sameProjection': "概観地図はメインの地図と同じ投影法をとる場合のみ機能します",
|
|
|
|
'readNotImplemented': "読み込みは実装されていません。",
|
|
|
|
'writeNotImplemented': "書き込みは実装されていません。",
|
|
|
|
'noFID': "FID のない地物は更新できません。",
|
|
|
|
'errorLoadingGML': "GML ファイル ${url} の読み込みエラー",
|
|
|
|
'browserNotSupported': "あなたのブラウザはベクターグラフィックスの描写に対応していません。現時点で対応しているソフトウェアは以下のものです。\n${renderers}",
|
|
|
|
'componentShouldBe': "addFeatures: 要素は ${geomType} であるべきです",
|
|
|
|
'getFeatureError': "getFeatureFromEvent がレンダラーのないレイヤーから呼ばれました。通常、これはあなたがレイヤーを、それに関連づけられたいくつかのハンドラを除いて、破壊してしまったことを意味します。",
|
|
|
|
'minZoomLevelError': "minZoomLevel プロパティは FixedZoomLevels を継承するレイヤーでの使用のみを想定しています。この minZoomLevel に対する WFS レイヤーの検査は歴史的なものです。しかしながら、この検査を除去するとそれに依存する OpenLayers ベースのアプリケーションを破壊してしまう可能性があります。よって廃止が予定されており、この minZoomLevel 検査はバージョン3.0で除去されます。代わりに、http://trac.openlayers.org/wiki/SettingZoomLevels で解説されている、最小および最大解像度設定を使用してください。",
|
|
|
|
'commitSuccess': "WFS トランザクション: 成功 ${response}",
|
|
|
|
'commitFailed': "WFS トランザクション: 失敗 ${response}",
|
|
|
|
'googleWarning': "Google レイヤーが正しく読み込みを行えませんでした。\x3cbr\x3e\x3cbr\x3eこのメッセージを消すには、右上の隅にあるレイヤー切り替え部分で新しい基底レイヤーを選んでください。\x3cbr\x3e\x3cbr\x3eおそらく、これは Google マップ用ライブラリのスクリプトが組み込まれていないか、あなたのサイトに対応する正しい API キーが設定されていないためです。\x3cbr\x3e\x3cbr\x3e開発者の方へ: 正しい動作をさせるために\x3ca href=\'http://trac.openlayers.org/wiki/Google\' target=\'_blank\'\x3eこちらのウィキ\x3c/a\x3eを参照してください。",
|
|
|
|
'getLayerWarning': "${layerType} レイヤーが正しく読み込みを行えませんでした。\x3cbr\x3e\x3cbr\x3eこのメッセージを消すには、右上の隅にあるレイヤー切り替え部分で新しい基底レイヤーを選んでください。\x3cbr\x3e\x3cbr\x3eおそらく、これは ${layerLib} ライブラリのスクリプトが正しく組み込まれていないためです。\x3cbr\x3e\x3cbr\x3e開発者の方へ: 正しい動作をさせるために\x3ca href=\'http://trac.openlayers.org/wiki/${layerLib}\' target=\'_blank\'\x3eこちらのウィキ\x3c/a\x3eを参照してください。",
|
|
|
|
'Scale = 1 : ${scaleDenom}': "縮尺 = 1 : ${scaleDenom}",
|
|
|
|
'W': "西",
|
|
|
|
'E': "東",
|
|
|
|
'N': "北",
|
|
|
|
'S': "南",
|
|
|
|
'layerAlreadyAdded': "あなたは「${layerName}」を地図に追加しようと試みましたが、そのレイヤーは既に追加されています",
|
|
|
|
'reprojectDeprecated': "あなたは「${layerName}」レイヤーで reproject オプションを使っています。このオプションは商用の基底地図上に情報を表示する目的で設計されましたが、現在ではその機能は Spherical Mercator サポートを利用して実現されており、このオプションの使用は非推奨です。追加の情報は http://trac.openlayers.org/wiki/SphericalMercator で入手できます。",
|
|
|
|
'methodDeprecated': "このメソッドは廃止が予定されており、バージョン3.0で除去されます。代わりに ${newMethod} を使用してください。",
|
|
|
|
'boundsAddError': "x と y 両方の値を add 関数に渡さなければなりません。",
|
|
|
|
'lonlatAddError': "lon と lat 両方の値を add 関数に渡さなければなりません。",
|
|
|
|
'pixelAddError': "x と y の値両方を add 関数に渡さなければなりません。",
|
|
|
|
'unsupportedGeometryType': "未対応の形状型: ${geomType}",
|
|
|
|
'pagePositionFailed': "OpenLayers.Util.pagePosition が失敗しました: id ${elemId} をもつ要素が誤った位置にある可能性があります。",
|
|
|
|
'filterEvaluateNotImplemented': "このフィルター型について evaluate は実装されていません。"
|
|
|
|
});
|