diff --git a/src/localization/japanese.rs b/src/localization/japanese.rs index acf1638d..cac89329 100644 --- a/src/localization/japanese.rs +++ b/src/localization/japanese.rs @@ -3,36 +3,34 @@ use super::{Piece, PlaceholderText, Text}; pub const fn resolve(text: Text) -> &'static str { match text { Text::StartSplit => "開始 / スプリット", - Text::StartSplitDescription => "スプリットと新しいアテンプト開始に使用するホットキー。", + Text::StartSplitDescription => "スプリットと新しい試行開始に使用するホットキー。", Text::Reset => "リセット", - Text::ResetDescription => "現在のアテンプトをリセットするホットキー。", + Text::ResetDescription => "現在の試行をリセットするホットキー。", Text::UndoSplit => "スプリットを取り消す", Text::UndoSplitDescription => "最後のスプリットを取り消すホットキー。", Text::SkipSplit => "スプリットをスキップ", Text::SkipSplitDescription => "現在のスプリットをスキップするホットキー。", - Text::Pause => "一時停止", + Text::Pause => "ポーズ", Text::PauseDescription => { - "現在のアテンプトを一時停止するホットキー。新しいアテンプトの開始にも使用できます。" + "現在の試行をポーズするホットキー。新しい試行の開始にも使用できます。" } Text::UndoAllPauses => "すべてのポーズを取り消す", Text::UndoAllPausesDescription => { - "現在の時間からすべてのポーズ時間を削除するホットキー。誤って一時停止した場合に便利です。" + "現在のタイムからすべてのポーズ時間を削除するホットキー。誤ってポーズした場合に便利です。" } - Text::PreviousComparison => "前の比較", - Text::PreviousComparisonDescription => "前の比較に切り替えるホットキー。", - Text::NextComparison => "次の比較", - Text::NextComparisonDescription => "次の比較に切り替えるホットキー。", + Text::PreviousComparison => "前の比較対象", + Text::PreviousComparisonDescription => "前の比較対象に切り替えるホットキー。", + Text::NextComparison => "次の比較対象", + Text::NextComparisonDescription => "次の比較対象に切り替えるホットキー。", Text::ToggleTimingMethod => "計測方法を切り替え", - Text::ToggleTimingMethodDescription => { - "「リアルタイム」と「ゲームタイム」を切り替えるホットキー。" - } + Text::ToggleTimingMethodDescription => "「実時間」と「ゲーム時間」を切り替えるホットキー。", Text::TimerBackground => "背景", Text::TimerBackgroundDescription => { - "コンポーネントの背景。先行/遅れの色を背景色として適用することもできます。" + "コンポーネントの背景。リード/遅れの色を背景色として適用することもできます。" } - Text::SegmentTimer => "セグメントタイマー", + Text::SegmentTimer => "区間タイマー", Text::SegmentTimerDescription => { - "現在のセグメント開始からの経過時間を表示するか、試行開始からの経過時間を表示するかを指定します。" + "現在の区間開始からの経過時間を表示するか、タイマースタートからの経過時間を表示するかを指定します。" } Text::TimingMethod => "計測方法", Text::TimingMethodDescription => { @@ -42,16 +40,16 @@ pub const fn resolve(text: Text) -> &'static str { Text::HeightDescription => "タイマーの高さ。", Text::TimerTextColor => "テキスト色", Text::TimerTextColorDescription => { - "表示する時間の色。指定しない場合は、現在のアテンプトの進行状況に基づいて自動的に選択されます。これらの色はレイアウトの一般設定で指定できます。" + "表示するタイムの色。指定しない場合は、現在の試行のペースに基づいて自動的に選択されます。これらの色はレイアウトの一般設定で指定できます。" } Text::ShowGradient => "グラデーションを表示", Text::ShowGradientDescription => "タイマーの色をグラデーションで表示するかどうか。", Text::DigitsFormat => "桁数", Text::DigitsFormatDescription => { - "表示する桁数を指定します。表示する桁数より短い場合は 0 が表示されます。" + "表示する桁数を指定します。桁数より短いタイムの場合は 0 で埋めて表示されます。" } Text::Accuracy => "精度", - Text::AccuracyDescription => "表示する時間の精度。", + Text::AccuracyDescription => "表示するタイムの精度。", Text::TitleBackground => "背景", Text::TitleBackgroundDescription => "コンポーネントの背景。", Text::TitleTextColor => "テキスト色", @@ -60,17 +58,17 @@ pub const fn resolve(text: Text) -> &'static str { } Text::ShowGameName => "ゲーム名を表示", Text::ShowGameNameDescription => "表示するタイトルにゲーム名を含めるかどうか。", - Text::ShowCategoryName => "カテゴリ名を表示", - Text::ShowCategoryNameDescription => "表示するタイトルにカテゴリ名を含めるかどうか。", + Text::ShowCategoryName => "カテゴリー名を表示", + Text::ShowCategoryNameDescription => "表示するタイトルにカテゴリー名を含めるかどうか。", Text::ShowFinishedRunsCount => "完走数を表示", - Text::ShowFinishedRunsCountDescription => "成功裏に完走した回数を表示するかどうか。", + Text::ShowFinishedRunsCountDescription => "完走した回数を表示するかどうか。", Text::ShowAttemptCount => "試行回数を表示", - Text::ShowAttemptCountDescription => "合計試行回数を表示するかどうか。", + Text::ShowAttemptCountDescription => "試行回数を表示するかどうか。", Text::TextAlignment => "テキスト配置", Text::TextAlignmentDescription => "タイトルの配置を指定します。", - Text::DisplayTextAsSingleLine => "テキストを1行で表示", + Text::DisplayTextAsSingleLine => "テキストを 1 行で表示", Text::DisplayTextAsSingleLineDescription => { - "タイトルをゲーム名とカテゴリ名の2行に分けず、1行で表示するかどうか。" + "タイトルをゲーム名とカテゴリー名の 2 行に分けず、1 行で表示するかどうか。" } Text::DisplayGameIcon => "ゲームアイコンを表示", Text::DisplayGameIconDescription => { @@ -78,25 +76,25 @@ pub const fn resolve(text: Text) -> &'static str { } Text::ShowRegion => "地域を表示", Text::ShowRegionDescription => { - "カテゴリ名に追加情報を付加します。スプリットエディタの変数タブで地域が指定されている場合に地域を付加します。" + "カテゴリー名に追加情報を付加します。スプリットエディタの変数タブで地域が指定されている場合に地域を付加します。" } Text::ShowPlatform => "プラットフォームを表示", Text::ShowPlatformDescription => { - "カテゴリ名に追加情報を付加します。スプリットエディタの変数タブでプラットフォームが指定されている場合に付加します。" + "カテゴリー名に追加情報を付加します。スプリットエディタの変数タブでプラットフォームが指定されている場合に付加します。" } Text::ShowVariables => "変数を表示", Text::ShowVariablesDescription => { - "カテゴリ名に追加情報を付加します。スプリットエディタの変数タブで指定された追加変数を付加します。speedrun.com 変数を指し、カスタム変数ではありません。" + "カテゴリー名に追加情報を付加します。スプリットエディタの変数タブで指定された追加変数を付加します。speedrun.com 変数を指し、カスタム変数ではありません。" } Text::TotalPlaytimeBackground => "背景", Text::TotalPlaytimeBackgroundDescription => "コンポーネントの背景。", - Text::DisplayTwoRows => "2行で表示", + Text::DisplayTwoRows => "2 行で表示", Text::DisplayTwoRowsDescription => { - "コンポーネント名と合計プレイ時間を2行で表示するかどうか。" + "コンポーネント名と総プレイタイムを 2 行で表示するかどうか。" } - Text::ShowDays => "日数を表示(>24時間)", + Text::ShowDays => "日数を表示(>24 時間)", Text::ShowDaysDescription => { - "合計プレイ時間が24時間以上になったときに日数を表示するかどうか。" + "総プレイタイムが 24 時間以上になったときに日数を表示するかどうか。" } Text::LabelColor => "ラベル色", Text::LabelColorDescription => { @@ -104,7 +102,7 @@ pub const fn resolve(text: Text) -> &'static str { } Text::ValueColor => "値の色", Text::ValueColorDescription => { - "合計プレイ時間の色。指定しない場合はレイアウトの色が使用されます。" + "総プレイタイムの色。指定しない場合はレイアウトの色が使用されます。" } Text::BlankSpaceBackground => "背景", Text::BlankSpaceBackgroundDescription => "コンポーネントの背景。", @@ -112,9 +110,9 @@ pub const fn resolve(text: Text) -> &'static str { Text::BlankSpaceSizeDescription => "コンポーネントのサイズ。", Text::CurrentComparisonBackground => "背景", Text::CurrentComparisonBackgroundDescription => "コンポーネントの背景。", - Text::CurrentComparisonDisplayTwoRows => "2行で表示", + Text::CurrentComparisonDisplayTwoRows => "2 行で表示", Text::CurrentComparisonDisplayTwoRowsDescription => { - "コンポーネント名と比較を2行で表示するかどうか。" + "コンポーネント名と比較対象を 2 行で表示するかどうか。" } Text::CurrentComparisonLabelColor => "ラベル色", Text::CurrentComparisonLabelColorDescription => { @@ -122,17 +120,17 @@ pub const fn resolve(text: Text) -> &'static str { } Text::CurrentComparisonValueColor => "値の色", Text::CurrentComparisonValueColorDescription => { - "比較名の色。指定しない場合はレイアウトの色が使用されます。" + "比較対象名の色。指定しない場合はレイアウトの色が使用されます。" } Text::CurrentPaceBackground => "背景", Text::CurrentPaceBackgroundDescription => "コンポーネントの背景。", - Text::CurrentPaceComparison => "比較", + Text::CurrentPaceComparison => "比較対象", Text::CurrentPaceComparisonDescription => { - "最終タイムを予測するために使用する比較。指定しない場合は現在の比較を使用します。" + "最終タイムを予測するために使用する比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::CurrentPaceDisplayTwoRows => "2行で表示", + Text::CurrentPaceDisplayTwoRows => "2 行で表示", Text::CurrentPaceDisplayTwoRowsDescription => { - "コンポーネント名と予測タイムを2行で表示するかどうか。" + "コンポーネント名と予測タイムを 2 行で表示するかどうか。" } Text::CurrentPaceLabelColor => "ラベル色", Text::CurrentPaceLabelColorDescription => { @@ -146,27 +144,27 @@ pub const fn resolve(text: Text) -> &'static str { Text::CurrentPaceAccuracyDescription => "表示する予測タイムの精度。", Text::DeltaBackground => "背景", Text::DeltaBackgroundDescription => "コンポーネントの背景。", - Text::DeltaComparison => "比較", + Text::DeltaComparison => "比較対象", Text::DeltaComparisonDescription => { - "先行/遅れを計算するための比較。指定しない場合は現在の比較を使用します。" + "リード/遅れを計算するための比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::DeltaDisplayTwoRows => "2行で表示", - Text::DeltaDisplayTwoRowsDescription => "比較名と差分を2行で表示するかどうか。", + Text::DeltaDisplayTwoRows => "2 行で表示", + Text::DeltaDisplayTwoRowsDescription => "比較対象名とタイム差を 2 行で表示するかどうか。", Text::DeltaLabelColor => "ラベル色", Text::DeltaLabelColorDescription => { - "比較名の色。指定しない場合はレイアウトの色が使用されます。" + "比較対象名の色。指定しない場合はレイアウトの色が使用されます。" } - Text::DeltaDropDecimals => "小数点を省略", + Text::DeltaDropDecimals => "小数点以下を省略", Text::DeltaDropDecimalsDescription => { - "表示する差分が1分を超える場合に小数点を表示しないかどうか。" + "表示するタイム差が 1 分を超える場合に小数点以下を表示しないかどうか。" } Text::DeltaAccuracy => "精度", - Text::DeltaAccuracyDescription => "表示する差分の精度。", + Text::DeltaAccuracyDescription => "表示するタイム差の精度。", Text::SumOfBestBackground => "背景", Text::SumOfBestBackgroundDescription => "コンポーネントの背景。", - Text::SumOfBestDisplayTwoRows => "2行で表示", + Text::SumOfBestDisplayTwoRows => "2 行で表示", Text::SumOfBestDisplayTwoRowsDescription => { - "コンポーネント名とベストセグメント合計を2行で表示するかどうか。" + "コンポーネント名と区間ベストの合計を 2 行で表示するかどうか。" } Text::SumOfBestLabelColor => "ラベル色", Text::SumOfBestLabelColorDescription => { @@ -174,15 +172,15 @@ pub const fn resolve(text: Text) -> &'static str { } Text::SumOfBestValueColor => "値の色", Text::SumOfBestValueColorDescription => { - "ベストセグメント合計の色。指定しない場合はレイアウトの色が使用されます。" + "区間ベストの合計の色。指定しない場合はレイアウトの色が使用されます。" } Text::SumOfBestAccuracy => "精度", - Text::SumOfBestAccuracyDescription => "表示するベスト合計の精度。", + Text::SumOfBestAccuracyDescription => "表示する区間ベストの合計の精度。", Text::PbChanceBackground => "背景", Text::PbChanceBackgroundDescription => "コンポーネントの背景。", - Text::PbChanceDisplayTwoRows => "2行で表示", + Text::PbChanceDisplayTwoRows => "2 行で表示", Text::PbChanceDisplayTwoRowsDescription => { - "コンポーネント名とPB確率を2行で表示するかどうか。" + "コンポーネント名と更新確率を 2 行で表示するかどうか。" } Text::PbChanceLabelColor => "ラベル色", Text::PbChanceLabelColorDescription => { @@ -190,21 +188,21 @@ pub const fn resolve(text: Text) -> &'static str { } Text::PbChanceValueColor => "値の色", Text::PbChanceValueColorDescription => { - "PB確率の色。指定しない場合はレイアウトの色が使用されます。" + "更新確率の色。指定しない場合はレイアウトの色が使用されます。" } Text::PossibleTimeSaveBackground => "背景", Text::PossibleTimeSaveBackgroundDescription => "コンポーネントの背景。", - Text::PossibleTimeSaveComparison => "比較", + Text::PossibleTimeSaveComparison => "比較対象", Text::PossibleTimeSaveComparisonDescription => { - "可能タイムセーブを計算する比較。指定しない場合は現在の比較を使用します。" + "更新余地を計算する比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::PossibleTimeSaveDisplayTwoRows => "2行で表示", + Text::PossibleTimeSaveDisplayTwoRows => "2 行で表示", Text::PossibleTimeSaveDisplayTwoRowsDescription => { - "コンポーネント名と可能タイムセーブを2行で表示するかどうか。" + "コンポーネント名と更新余地を 2 行で表示するかどうか。" } - Text::PossibleTimeSaveShowTotal => "合計可能タイムセーブを表示", + Text::PossibleTimeSaveShowTotal => "ゴール時の更新余地を表示", Text::PossibleTimeSaveShowTotalDescription => { - "現在のセグメントではなく、残り全体の合計可能タイムセーブを表示するかどうか。" + "現在の区間ではなく、ゴール時における更新余地を表示するかどうか。" } Text::PossibleTimeSaveLabelColor => "ラベル色", Text::PossibleTimeSaveLabelColorDescription => { @@ -212,43 +210,43 @@ pub const fn resolve(text: Text) -> &'static str { } Text::PossibleTimeSaveValueColor => "値の色", Text::PossibleTimeSaveValueColorDescription => { - "可能タイムセーブの色。指定しない場合はレイアウトの色が使用されます。" + "更新余地の色。指定しない場合はレイアウトの色が使用されます。" } Text::PossibleTimeSaveAccuracy => "精度", - Text::PossibleTimeSaveAccuracyDescription => "表示する可能タイムセーブの精度。", + Text::PossibleTimeSaveAccuracyDescription => "表示する更新余地の精度。", Text::PreviousSegmentBackground => "背景", Text::PreviousSegmentBackgroundDescription => "コンポーネントの背景。", - Text::PreviousSegmentComparison => "比較", + Text::PreviousSegmentComparison => "比較対象", Text::PreviousSegmentComparisonDescription => { - "どれだけ時間を得失したかを計算する比較。指定しない場合は現在の比較を使用します。" + "どれだけタイムを得失したかを計算する比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::PreviousSegmentDisplayTwoRows => "2行で表示", + Text::PreviousSegmentDisplayTwoRows => "2 行で表示", Text::PreviousSegmentDisplayTwoRowsDescription => { - "コンポーネント名と得失タイムを2行で表示するかどうか。" + "コンポーネント名と得失タイムを 2 行で表示するかどうか。" } Text::PreviousSegmentLabelColor => "ラベル色", Text::PreviousSegmentLabelColorDescription => { "コンポーネント名の色。指定しない場合はレイアウトの色が使用されます。" } - Text::PreviousSegmentDropDecimals => "小数点を省略", + Text::PreviousSegmentDropDecimals => "小数点以下を省略", Text::PreviousSegmentDropDecimalsDescription => { - "表示する時間が1分を超える場合に小数点を省略するかどうか。" + "表示するタイムが 1 分を超える場合に小数点以下を省略するかどうか。" } Text::PreviousSegmentAccuracy => "精度", - Text::PreviousSegmentAccuracyDescription => "表示する時間の精度。", - Text::PreviousSegmentShowPossibleTimeSave => "可能タイムセーブを表示", + Text::PreviousSegmentAccuracyDescription => "表示するタイムの精度。", + Text::PreviousSegmentShowPossibleTimeSave => "更新余地を表示", Text::PreviousSegmentShowPossibleTimeSaveDescription => { - "前のセグメントで得失した時間に加えて、可能タイムセーブも表示するかどうか。" + "前の区間で得失したタイムに加えて、更新余地も表示するかどうか。" } Text::SegmentTimeBackground => "背景", Text::SegmentTimeBackgroundDescription => "コンポーネントの背景。", - Text::SegmentTimeComparison => "比較", + Text::SegmentTimeComparison => "比較対象", Text::SegmentTimeComparisonDescription => { - "セグメントタイムの比較。指定しない場合は現在の比較を使用します。" + "区間タイムの比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::SegmentTimeDisplayTwoRows => "2行で表示", + Text::SegmentTimeDisplayTwoRows => "2 行で表示", Text::SegmentTimeDisplayTwoRowsDescription => { - "コンポーネント名とセグメントタイムを2行で表示するかどうか。" + "コンポーネント名と区間タイムを 2 行で表示するかどうか。" } Text::SegmentTimeLabelColor => "ラベル色", Text::SegmentTimeLabelColorDescription => { @@ -256,45 +254,45 @@ pub const fn resolve(text: Text) -> &'static str { } Text::SegmentTimeValueColor => "値の色", Text::SegmentTimeValueColorDescription => { - "セグメントタイムの色。指定しない場合はレイアウトの色が使用されます。" + "区間タイムの色。指定しない場合はレイアウトの色が使用されます。" } Text::SegmentTimeAccuracy => "精度", - Text::SegmentTimeAccuracyDescription => "表示するセグメントタイムの精度。", - Text::GraphComparison => "比較", + Text::SegmentTimeAccuracyDescription => "表示する区間タイムの精度。", + Text::GraphComparison => "比較対象", Text::GraphComparisonDescription => { - "グラフに使用する比較。指定しない場合は現在の比較を使用します。" + "グラフに使用する比較対象。指定しない場合は現在の比較対象を使用します。" } Text::GraphHeight => "高さ", Text::GraphHeightDescription => "グラフの高さ。", - Text::GraphShowBestSegments => "ベストセグメントを表示", + Text::GraphShowBestSegments => "区間ベストを表示", Text::GraphShowBestSegmentsDescription => { - "ベストセグメントをレイアウトのベストセグメント色で表示するかどうか。" + "区間ベストをレイアウトの区間ベストの色で表示するかどうか。" } Text::GraphLiveGraph => "ライブグラフ", Text::GraphLiveGraphDescription => { - "グラフを常時更新するかどうか。無効の場合、現在のセグメントが変わるときのみ更新されます。" + "グラフを常時更新するかどうか。無効の場合、現在の区間が変わるときのみ更新されます。" } Text::GraphFlipGraph => "グラフを反転", Text::GraphFlipGraphDescription => { - "グラフを縦に反転するかどうか。無効の場合、先行はX軸の下、遅れは上に表示されます。" + "グラフを縦に反転するかどうか。無効の場合、リードはX軸の下、遅れは上に表示されます。" } Text::GraphBehindBackgroundColor => "遅れ側の背景色", Text::GraphBehindBackgroundColorDescription => { - "比較より遅れている時間の領域に使用する背景色。" + "比較対象より遅れているタイムの領域に使用する背景色。" } - Text::GraphAheadBackgroundColor => "先行側の背景色", + Text::GraphAheadBackgroundColor => "リード側の背景色", Text::GraphAheadBackgroundColorDescription => { - "比較より先行している時間の領域に使用する背景色。" + "比較対象よりリードしているタイムの領域に使用する背景色。" } Text::GraphGridLinesColor => "グリッド線の色", Text::GraphGridLinesColorDescription => "グラフのグリッド線の色。", Text::GraphLinesColor => "グラフ線の色", Text::GraphLinesColorDescription => "グラフの点を結ぶ線の色。", - Text::GraphPartialFillColor => "部分塗りつぶし色", + Text::GraphPartialFillColor => "ライブ領域塗りつぶし色", Text::GraphPartialFillColorDescription => { - "X軸とグラフに囲まれた領域の色。部分塗りつぶし色はライブ変化にのみ使用され、最後のスプリットから現在の時間までに適用されます。" + "X軸とグラフに囲まれた領域の色。ライブ変化にのみ使用され、直近のスプリットから現在のタイムまで適用されます。" } - Text::GraphCompleteFillColor => "完全塗りつぶし色", + Text::GraphCompleteFillColor => "確定領域塗りつぶし色", Text::GraphCompleteFillColorDescription => { "X軸とグラフに囲まれた領域の色(ライブ変化部分を除く)。" } @@ -304,23 +302,25 @@ pub const fn resolve(text: Text) -> &'static str { Text::DetailedTimerTimingMethodDescription => { "使用する計測方法を指定します。指定しない場合は現在の計測方法を使用します。" } - Text::DetailedTimerComparison1 => "比較 1", + Text::DetailedTimerComparison1 => "比較対象 1", Text::DetailedTimerComparison1Description => { - "セグメントタイムを表示する1つ目の比較。指定しない場合は現在の比較を使用します。" + "区間タイムを表示する 1 つ目の比較対象。指定しない場合は現在の比較対象を使用します。" } - Text::DetailedTimerComparison2 => "比較 2", + Text::DetailedTimerComparison2 => "比較対象 2", Text::DetailedTimerComparison2Description => { - "セグメントタイムを表示する2つ目の比較。指定しない場合は現在の比較を使用します(比較1もNoneの場合を除く)。2つ目の比較が非表示の場合は表示されません。" + "区間タイムを表示する 2 つ目の比較対象。指定しない場合は現在の比較対象を使用します(比較対象 1 も None の場合を除く)。2 つ目の比較対象が非表示の場合は表示されません。" + } + Text::DetailedTimerHideSecondComparison => "第 2 比較対象を非表示", + Text::DetailedTimerHideSecondComparisonDescription => { + "比較対象を 1 つだけ表示するかどうか。" } - Text::DetailedTimerHideSecondComparison => "第2比較を非表示", - Text::DetailedTimerHideSecondComparisonDescription => "比較を1つだけ表示するかどうか。", Text::DetailedTimerTimerHeight => "タイマーの高さ", - Text::DetailedTimerTimerHeightDescription => "ランタイマーの高さ。", - Text::DetailedTimerSegmentTimerHeight => "セグメントタイマーの高さ", - Text::DetailedTimerSegmentTimerHeightDescription => "セグメントタイマーの高さ。", + Text::DetailedTimerTimerHeightDescription => "タイマーの高さ。", + Text::DetailedTimerSegmentTimerHeight => "区間タイマーの高さ", + Text::DetailedTimerSegmentTimerHeightDescription => "区間タイマーの高さ。", Text::DetailedTimerTimerColor => "タイマー色", Text::DetailedTimerTimerColorDescription => { - "現在の進行状況に基づく自動色ではなく、常に使用する色を指定できます。" + "現在のペースに基づく自動色ではなく、常に使用する色を指定できます。" } Text::DetailedTimerShowTimerGradient => "タイマーのグラデーションを表示", Text::DetailedTimerShowTimerGradientDescription => { @@ -328,89 +328,87 @@ pub const fn resolve(text: Text) -> &'static str { } Text::DetailedTimerTimerDigitsFormat => "タイマーの桁数", Text::DetailedTimerTimerDigitsFormatDescription => { - "タイマーに表示する桁数。短い場合は0が表示されます。" + "タイマーに表示する桁数。桁数より短いタイムの場合は 0 で埋めて表示されます。" } Text::DetailedTimerTimerAccuracy => "タイマーの精度", - Text::DetailedTimerTimerAccuracyDescription => "タイマーに表示する時間の精度。", - Text::DetailedTimerSegmentTimerColor => "セグメントタイマー色", + Text::DetailedTimerTimerAccuracyDescription => "タイマーに表示するタイムの精度。", + Text::DetailedTimerSegmentTimerColor => "区間タイマー色", Text::DetailedTimerSegmentTimerColorDescription => { - "セグメントタイマーの色をデフォルトとは別の色に変更します。" + "区間タイマーの色をデフォルトとは別の色に変更します。" } - Text::DetailedTimerShowSegmentTimerGradient => "セグメントタイマーのグラデーションを表示", + Text::DetailedTimerShowSegmentTimerGradient => "区間タイマーのグラデーションを表示", Text::DetailedTimerShowSegmentTimerGradientDescription => { - "有効にするとセグメントタイマーの色が自動的に縦方向のグラデーションになります。無効の場合は単色で表示されます。" + "有効にすると区間タイマーの色が自動的に縦方向のグラデーションになります。無効の場合は単色で表示されます。" } - Text::DetailedTimerSegmentTimerDigitsFormat => "セグメントタイマーの桁数", + Text::DetailedTimerSegmentTimerDigitsFormat => "区間タイマーの桁数", Text::DetailedTimerSegmentTimerDigitsFormatDescription => { - "セグメントタイマーに表示する桁数。短い場合は0が表示されます。" + "区間タイマーに表示する桁数。桁数より短いタイムの場合は 0 で埋めて表示されます。" } - Text::DetailedTimerSegmentTimerAccuracy => "セグメントタイマーの精度", + Text::DetailedTimerSegmentTimerAccuracy => "区間タイマーの精度", Text::DetailedTimerSegmentTimerAccuracyDescription => { - "セグメントタイマーに表示する時間の精度。" + "区間タイマーに表示するタイムの精度。" } - Text::DetailedTimerComparisonNamesColor => "比較名の色", + Text::DetailedTimerComparisonNamesColor => "比較対象名の色", Text::DetailedTimerComparisonNamesColorDescription => { - "比較名を表示する場合の色。指定しない場合はレイアウトの色が使用されます。" + "比較対象名を表示する場合の色。指定しない場合はレイアウトの色が使用されます。" } - Text::DetailedTimerComparisonTimesColor => "比較タイムの色", + Text::DetailedTimerComparisonTimesColor => "比較対象タイムの色", Text::DetailedTimerComparisonTimesColorDescription => { - "比較タイムを表示する場合の色。指定しない場合はレイアウトの色が使用されます。" + "比較対象タイムを表示する場合の色。指定しない場合はレイアウトの色が使用されます。" } - Text::DetailedTimerComparisonTimesAccuracy => "比較タイムの精度", - Text::DetailedTimerComparisonTimesAccuracyDescription => "比較タイムの精度。", - Text::DetailedTimerShowSegmentName => "セグメント名を表示", - Text::DetailedTimerShowSegmentNameDescription => "セグメント名を表示するかどうか。", - Text::DetailedTimerSegmentNameColor => "セグメント名の色", + Text::DetailedTimerComparisonTimesAccuracy => "比較対象タイムの精度", + Text::DetailedTimerComparisonTimesAccuracyDescription => "比較対象タイムの精度。", + Text::DetailedTimerShowSegmentName => "区間名を表示", + Text::DetailedTimerShowSegmentNameDescription => "区間名を表示するかどうか。", + Text::DetailedTimerSegmentNameColor => "区間名の色", Text::DetailedTimerSegmentNameColorDescription => { - "セグメント名を表示する場合の色。指定しない場合はレイアウトの色が使用されます。" + "区間名を表示する場合の色。指定しない場合はレイアウトの色が使用されます。" } Text::DetailedTimerDisplayIcon => "アイコンを表示", - Text::DetailedTimerDisplayIconDescription => "セグメントアイコンを表示するかどうか。", + Text::DetailedTimerDisplayIconDescription => "区間アイコンを表示するかどうか。", Text::SplitsBackground => "背景", Text::SplitsBackgroundDescription => { "コンポーネントの背景。交互色を選択すると、各行が2色で交互に表示されます。" } - Text::SplitsTotalRows => "総行数", + Text::SplitsTotalRows => "表示行数", Text::SplitsTotalRowsDescription => { - "表示するセグメント行の総数。0の場合は全セグメントを表示します。総数より小さい値の場合はウィンドウ表示となり、上下にスクロールします。" + "表示する区間の総数。0 の場合は全区間を表示します。全区間数より小さい値の場合はウィンドウ表示となり、上下にスクロールします。" } - Text::SplitsUpcomingSegments => "今後のセグメント", + Text::SplitsUpcomingSegments => "今後の区間", Text::SplitsUpcomingSegmentsDescription => { - "表示行数よりセグメントが多い場合、現在のセグメントが変わるとウィンドウが自動的にスクロールします。この値は表示する将来セグメントの最小数を決めます。" + "表示行数より区間が多い場合、現在の区間が変わるとウィンドウが自動的にスクロールします。この値は表示する将来区間の最小数を決めます。" } Text::SplitsShowThinSeparators => "細い区切り線を表示", - Text::SplitsShowThinSeparatorsDescription => { - "セグメント行の間に細い区切り線を表示するかどうか。" - } + Text::SplitsShowThinSeparatorsDescription => "区間の間に細い区切り線を表示するかどうか。", Text::SplitsShowSeparatorBeforeLastSplit => "最後のスプリット前の区切り線を表示", Text::SplitsShowSeparatorBeforeLastSplitDescription => { - "最後のセグメントを常に表示する場合、スクロール窓で直前のセグメントと隣接しないときに強調区切り線を表示するかどうかを指定します。" + "最後の区間を常に表示する場合、スクロール窓で直前の区間と隣接しないときに強調区切り線を表示するかどうかを指定します。" } Text::SplitsAlwaysShowLastSplit => "最後のスプリットを常に表示", Text::SplitsAlwaysShowLastSplitDescription => { - "スクロール窓で全セグメントを表示しない場合、最後のセグメントを常に表示するかどうか。最後のセグメントには比較の合計時間が含まれるため有用です。" + "スクロール窓で全区間を表示しない場合、最後の区間を常に表示するかどうか。最後の区間には比較対象のゴールタイムが含まれるため有用です。" } Text::SplitsFillWithBlankSpace => "空白で埋める", Text::SplitsFillWithBlankSpaceDescription => { - "表示行数に対してセグメントが少ない場合、空白で埋めて常に総行数を表示するかどうか。" + "表示行数に対して区間が少ない場合、空白で埋めて常に表示行数分のスペースを表示するかどうか。" } - Text::SplitsShowTimesBelowSegmentName => "セグメント名の下にタイムを表示", + Text::SplitsShowTimesBelowSegmentName => "区間名の下にタイムを表示", Text::SplitsShowTimesBelowSegmentNameDescription => { - "セグメント名の下にタイムを表示するかどうか。無効の場合は横に表示されます。" + "区間名の下にタイムを表示するかどうか。無効の場合は横に表示されます。" } - Text::SplitsCurrentSegmentGradient => "現在セグメントのグラデーション", + Text::SplitsCurrentSegmentGradient => "現在区間のグラデーション", Text::SplitsCurrentSegmentGradientDescription => { - "現在のセグメントを示すために背面に表示するグラデーション。" + "現在の区間を示すために背面に表示するグラデーション。" } Text::SplitsSplitTimeAccuracy => "スプリットタイムの精度", Text::SplitsSplitTimeAccuracyDescription => "スプリットタイム列に使用する精度。", - Text::SplitsSegmentTimeAccuracy => "セグメントタイムの精度", - Text::SplitsSegmentTimeAccuracyDescription => "セグメントタイム列に使用する精度。", - Text::SplitsDeltaTimeAccuracy => "差分タイムの精度", - Text::SplitsDeltaTimeAccuracyDescription => "先行/遅れ列に使用する精度。", - Text::SplitsDropDeltaDecimals => "分表示時に小数点を省略", + Text::SplitsSegmentTimeAccuracy => "区間タイムの精度", + Text::SplitsSegmentTimeAccuracyDescription => "区間タイム列に使用する精度。", + Text::SplitsDeltaTimeAccuracy => "タイム差の精度", + Text::SplitsDeltaTimeAccuracyDescription => "リード/遅れ列に使用する精度。", + Text::SplitsDropDeltaDecimals => "タイム差 1 分以上は小数点以下を省略", Text::SplitsDropDeltaDecimalsDescription => { - "先行/遅れの列が1分を超える場合に小数点を表示しないかどうか。" + "リード/遅れの列が 1 分を超える場合に小数点以下を表示しないかどうか。" } Text::SplitsShowColumnLabels => "列ラベルを表示", Text::SplitsShowColumnLabelsDescription => "一覧の上部に列名を表示するかどうか。", @@ -422,25 +420,25 @@ pub const fn resolve(text: Text) -> &'static str { Text::SplitsColumnNameDescription => "列名。列ラベルを表示する場合に上部に表示されます。", Text::SplitsColumnType => "列タイプ", Text::SplitsColumnTypeDescription => { - "列に表示する情報の種類。時間またはカスタム変数を表示できます。" + "列に表示する情報の種類。タイムまたはカスタム変数を表示できます。" } Text::SplitsVariableName => "変数名", Text::SplitsVariableNameDescription => "この列に表示するカスタム変数名。", Text::SplitsStartWith => "開始値", Text::SplitsStartWithDescription => { - "各セグメントで列が開始する値。更新トリガーが満たされるまでこの値が表示されます。" + "各区間で列が開始する値。更新トリガーが満たされるまでこの値が表示されます。" } Text::SplitsUpdateWith => "更新値", Text::SplitsUpdateWithDescription => { - "条件が満たされると(通常は現在のセグメントか、完了済みであること)、ここで指定した値に更新されます。" + "条件が満たされると(通常は現在の区間か、通過済みであること)、ここで指定した値に更新されます。" } Text::SplitsUpdateTrigger => "更新トリガー", Text::SplitsUpdateTriggerDescription => { "更新値に置き換えるための条件。条件が満たされるまでは開始値が表示されます。" } - Text::SplitsColumnComparison => "比較", + Text::SplitsColumnComparison => "比較対象", Text::SplitsColumnComparisonDescription => { - "この列が参照する比較。指定しない場合は現在の比較を使用します。" + "この列が参照する比較対象。指定しない場合は現在の比較対象を使用します。" } Text::SplitsColumnTimingMethod => "計測方法", Text::SplitsColumnTimingMethodDescription => { @@ -450,11 +448,11 @@ pub const fn resolve(text: Text) -> &'static str { Text::TextComponentBackgroundDescription => "コンポーネントの背景。", Text::TextComponentUseVariable => "変数を使用", Text::TextComponentUseVariableDescription => { - "動的な値を表示するためにカスタム変数を使用するかどうか。カスタム変数はスプリットエディタで設定でき、オートスプリッターから提供されることもあります。" + "動的な値を表示するためにカスタム変数を使用するかどうか。カスタム変数はスプリット編集で設定でき、オートスプリッターから提供されることもあります。" } Text::TextComponentSplit => "分割", Text::TextComponentSplitDescription => { - "テキストを左右に分割するかどうか。分割しない場合は中央に1つのテキストが表示されます。" + "テキストを左右に分割するかどうか。分割しない場合は中央に 1 つのテキストが表示されます。" } Text::TextComponentText => "テキスト", Text::TextComponentTextDescription => "中央に表示するテキスト。", @@ -474,8 +472,8 @@ pub const fn resolve(text: Text) -> &'static str { Text::TextComponentNameColorDescription => "変数名の色。", Text::TextComponentValueColor => "値の色", Text::TextComponentValueColorDescription => "変数値の色。", - Text::TextComponentDisplayTwoRows => "2行で表示", - Text::TextComponentDisplayTwoRowsDescription => "左右のテキストを2行で表示するかどうか。", + Text::TextComponentDisplayTwoRows => "2 行で表示", + Text::TextComponentDisplayTwoRowsDescription => "左右のテキストを 2 行で表示するかどうか。", Text::LayoutDirection => "レイアウト方向", Text::LayoutDirectionDescription => "コンポーネントを配置する方向。", Text::CustomTimerFont => "カスタムタイマーフォント", @@ -494,97 +492,103 @@ pub const fn resolve(text: Text) -> &'static str { Text::TextShadowDescription => "テキスト影の色を任意で指定できます。", Text::Background => "背景", Text::BackgroundDescription => "レイアウト全体の背景。", - Text::BestSegment => "ベストセグメント", - Text::BestSegmentDescription => "新しいベストセグメントを達成したときの色。", - Text::AheadGainingTime => "先行(時間を伸ばしている)", + Text::BestSegment => "区間ベスト", + Text::BestSegmentDescription => "新しい区間ベストを達成したときの色。", + Text::AheadGainingTime => "リード(タイムを短縮している)", Text::AheadGainingTimeDescription => { - "比較より先行していて、さらに時間を伸ばしているときの色。" - } - Text::AheadLosingTime => "先行(時間を失っている)", - Text::AheadLosingTimeDescription => "比較より先行しているが時間を失っているときの色。", - Text::BehindGainingTime => "遅れ(時間を取り戻している)", - Text::BehindGainingTimeDescription => "比較より遅れているが時間を取り戻しているときの色。", - Text::BehindLosingTime => "遅れ(時間を失っている)", - Text::BehindLosingTimeDescription => "比較より遅れていて、さらに時間を失っているときの色。", + "比較対象よりリードしていて、さらにタイムを短縮しているときの色。" + } + Text::AheadLosingTime => "リード(タイムをロスしている)", + Text::AheadLosingTimeDescription => { + "比較対象よりリードしているがタイムをロスしているときの色。" + } + Text::BehindGainingTime => "遅れ(タイムを取り戻している)", + Text::BehindGainingTimeDescription => { + "比較対象より遅れているがタイムを取り戻しているときの色。" + } + Text::BehindLosingTime => "遅れ(タイムをロスしている)", + Text::BehindLosingTimeDescription => { + "比較対象より遅れていて、さらにタイムをロスしているときの色。" + } Text::NotRunning => "未走行", - Text::NotRunningDescription => "アクティブなアテンプトがないときの色。", + Text::NotRunningDescription => "アクティブな思考がないときの色。", Text::PersonalBest => "自己ベスト", Text::PersonalBestDescription => "新しい自己ベストを達成したときの色。", - Text::Paused => "一時停止", - Text::PausedDescription => "タイマーが一時停止しているときの色。", + Text::Paused => "ポーズ", + Text::PausedDescription => "タイマーがポーズしているときの色。", Text::ThinSeparators => "細い区切り線", Text::ThinSeparatorsDescription => "細い区切り線の色。", Text::Separators => "区切り線", Text::SeparatorsDescription => "通常の区切り線の色。", Text::TextColor => "テキスト", Text::TextColorDescription => "独自の色が指定されていないテキストに使用する色。", - Text::ComponentBlankSpace => "空白", - Text::ComponentCurrentComparison => "現在の比較", + Text::ComponentBlankSpace => "スペース", + Text::ComponentCurrentComparison => "現在の比較対象", Text::ComponentCurrentPace => "現在のペース", - Text::ComponentDelta => "差", + Text::ComponentDelta => "タイム差", Text::ComponentDetailedTimer => "詳細タイマー", Text::ComponentGraph => "グラフ", - Text::ComponentPbChance => "PB 可能性", - Text::ComponentPossibleTimeSave => "節約可能時間", - Text::ComponentPreviousSegment => "前セグメント", - Text::ComponentSegmentTime => "セグメント時間", + Text::ComponentPbChance => "更新確率", + Text::ComponentPossibleTimeSave => "更新余地", + Text::ComponentPreviousSegment => "前の区間", + Text::ComponentSegmentTime => "区間タイム", Text::ComponentSeparator => "区切り", Text::ComponentSplits => "スプリット", - Text::ComponentSumOfBest => "ベスト合計", + Text::ComponentSumOfBest => "合計区間ベスト", Text::ComponentText => "テキスト", Text::ComponentTimer => "タイマー", - Text::ComponentSegmentTimer => "セグメントタイマー", + Text::ComponentSegmentTimer => "区間タイマー", Text::ComponentTitle => "タイトル", - Text::ComponentTotalPlaytime => "総プレイ時間", - Text::ComponentCurrentPaceBestPossibleTime => "最速可能タイム", - Text::ComponentCurrentPaceWorstPossibleTime => "最悪可能タイム", + Text::ComponentTotalPlaytime => "総プレイタイム", + Text::ComponentCurrentPaceBestPossibleTime => "最速予想タイム", + Text::ComponentCurrentPaceWorstPossibleTime => "最悪予想タイム", Text::ComponentCurrentPacePredictedTime => "予測タイム", - Text::ComponentSegmentTimeBest => "ベストセグメントタイム", - Text::ComponentSegmentTimeWorst => "ワーストセグメントタイム", - Text::ComponentSegmentTimeAverage => "平均セグメントタイム", - Text::ComponentSegmentTimeMedian => "中央値セグメントタイム", - Text::ComponentSegmentTimeLatest => "最新セグメントタイム", - Text::ComponentPossibleTimeSaveTotal => "合計短縮可能時間", - Text::LiveSegment => "ライブセグメント", - Text::LiveSegmentShort => "ライブセグメント", - Text::PreviousSegmentShort => "前のセグメント", - Text::PreviousSegmentAbbreviation => "前セグ", + Text::ComponentSegmentTimeBest => "ベスト区間タイム", + Text::ComponentSegmentTimeWorst => "ワースト区間タイム", + Text::ComponentSegmentTimeAverage => "平均区間タイム", + Text::ComponentSegmentTimeMedian => "中央値区間タイム", + Text::ComponentSegmentTimeLatest => "最新区間タイム", + Text::ComponentPossibleTimeSaveTotal => "ゴール時の更新余地", + Text::LiveSegment => "ライブ区間", + Text::LiveSegmentShort => "ライブ", + Text::PreviousSegmentShort => "前の区間", + Text::PreviousSegmentAbbreviation => "前区", Text::ComparingAgainst => "比較対象", Text::ComparisonShort => "比較", - Text::CurrentPaceBestPossibleTimeShort => "最速可タイム", - Text::CurrentPaceBestTimeShort => "最速タイム", - Text::CurrentPaceBestPossibleTimeAbbreviation => "最速可", - Text::CurrentPaceWorstPossibleTimeShort => "最悪可タイム", - Text::CurrentPaceWorstTimeShort => "最悪タイム", - Text::CurrentPacePredictedTimeShort => "予測タイム", + Text::CurrentPaceBestPossibleTimeShort => "最速予想", + Text::CurrentPaceBestTimeShort => "最速", + Text::CurrentPaceBestPossibleTimeAbbreviation => "最速", + Text::CurrentPaceWorstPossibleTimeShort => "最遅予想", + Text::CurrentPaceWorstTimeShort => "最遅", + Text::CurrentPacePredictedTimeShort => "予測", Text::CurrentPaceShort => "現ペース", Text::CurrentPaceAbbreviation => "ペース", Text::Goal => "目標", - Text::SumOfBestSegments => "ベストセグメント合計", - Text::SumOfBestShort => "ベスト合計", - Text::SumOfBestAbbreviation => "ベ合", + Text::SumOfBestSegments => "合計区間ベスト", + Text::SumOfBestShort => "総最速区間", + Text::SumOfBestAbbreviation => "総最速", Text::PlaytimeShort => "プレイ時間", - Text::BestSegmentTimeShort => "最速セグ時間", - Text::BestSegmentShort => "最速セグ", - Text::WorstSegmentTimeShort => "最遅セグ時間", - Text::WorstSegmentShort => "最遅セグ", - Text::AverageSegmentTimeShort => "平均セグ時間", - Text::AverageSegmentShort => "平均セグ", - Text::MedianSegmentTimeShort => "中央値セグ時間", - Text::MedianSegmentShort => "中央値セグ", - Text::LatestSegmentTimeShort => "最新セグ時間", - Text::LatestSegmentShort => "最新セグ", - Text::SegmentTimeShort => "セグ時間", - Text::SplitTime => "時間", - Text::PossibleTimeSaveShort => "短縮可能時間", - Text::PossibleTimeSaveAbbreviation => "短縮可能", + Text::BestSegmentTimeShort => "最速区間", + Text::BestSegmentShort => "最速区間", + Text::WorstSegmentTimeShort => "最遅区間", + Text::WorstSegmentShort => "最遅区間", + Text::AverageSegmentTimeShort => "平均区間", + Text::AverageSegmentShort => "平均区間", + Text::MedianSegmentTimeShort => "中央区間", + Text::MedianSegmentShort => "中央区間", + Text::LatestSegmentTimeShort => "最新区間", + Text::LatestSegmentShort => "最新区間", + Text::SegmentTimeShort => "区間", + Text::SplitTime => "タイム", + Text::PossibleTimeSaveShort => "余地", + Text::PossibleTimeSaveAbbreviation => "余地", Text::TimeSaveShort => "短縮", - Text::RealTime => "リアルタイム", - Text::GameTime => "ゲームタイム", + Text::RealTime => "実時間", + Text::GameTime => "ゲーム時間", Text::Untitled => "無題", Text::SumOfBestCleanerStartOfRun => "ラン開始", Text::SumOfBestCleanerShouldRemove => { - " この区間タイムは不正確だと思いますか? もしそうなら、削除したほうがいいでしょうか?" + "この区間タイムは不正確だと思いますか? もしそうなら、削除したほうがいいでしょうか?" } } } @@ -602,7 +606,7 @@ pub const fn resolve_placeholder(text: PlaceholderText) -> &'static [Piece] { Piece::Static("として記録されています。"), ], PlaceholderText::SumOfBestCleanerFasterThanCombined => &[ - Piece::Static("これは、ベスト区間の合計"), + Piece::Static("これは、区間ベストの合計"), Piece::Dynamic(0), Piece::Static("よりも速い記録です。"), ], diff --git a/tests/rendering.rs b/tests/rendering.rs index 88d38e13..aebe3fe1 100644 --- a/tests/rendering.rs +++ b/tests/rendering.rs @@ -261,7 +261,7 @@ fn all_components() { &image_cache, [300, 800], "ac1120ceabe1cf2f", - "5ee085b9bd7d2551", + "cc6cd2c025ecac2d", "all_components", ); @@ -270,7 +270,7 @@ fn all_components() { &image_cache, [150, 800], "817568e8740f9b53", - "f47d3dcaf69ecd66", + "8a21844849246afb", "all_components_thin", ); }