Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Capture/RegionPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ void BuildBar()
return;
}
AddBar("video", I18n.T("V\u00EDdeo", "Video"), Mode.Video, false, false);
AddBar("gif", "GIF", Mode.Gif, false, false);
AddBar("gif", I18n.GifAction, Mode.Gif, false, false);
AddBar("scroll", I18n.T("Desplazar", "Scroll"), Mode.Scroll, false, false);
AddBar("textscan", I18n.T("Texto", "Text"), Mode.Text, false, false);
AddBar("close", null, Mode.Image, false, true);
Expand Down
2 changes: 1 addition & 1 deletion src/Home/HomeRecordPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void RecHeader()
string combo = settings.HotkeysFor(action);
if (Hotkeys.Split(combo).Count == 0) continue;
keys.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
TextBlock name = Label(action == "video" ? I18n.T("V\u00EDdeo", "Video") : "GIF", Ds.Regular, 11.5, pal.Label2, new Thickness(0, r > 0 ? 6 : 0, 10, 0));
TextBlock name = Label(action == "video" ? I18n.T("V\u00EDdeo", "Video") : I18n.GifAction, Ds.Regular, 11.5, pal.Label2, new Thickness(0, r > 0 ? 6 : 0, 10, 0));
name.HorizontalAlignment = HorizontalAlignment.Right;
Grid.SetRow(name, r);
keys.Children.Add(name);
Expand Down
6 changes: 4 additions & 2 deletions src/Home/HomeViews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ internal static string[] ActionShortest
{
if (I18n.IsSpanish) return ActionShortestEs;
if (I18n.IsEnglish) return ActionShortestEn;
return Array.ConvertAll(ActionShortestEn, label => I18n.T(null, label));
return Array.ConvertAll(ActionShortestEn, label => label == "GIF" && I18n.IsKorean ? I18n.GifAction : I18n.T(null, label));
}
}

Expand Down Expand Up @@ -1422,7 +1422,7 @@ void BuildHomeScene()
Panel.SetZIndex(play, 2);
stage.Children.Add(play);
}
StackPanel right = new StackPanel { Width = 300, HorizontalAlignment = settings.MascotOn ? HorizontalAlignment.Right : HorizontalAlignment.Center, Margin = new Thickness(0, 74, 40, 0) };
StackPanel right = new StackPanel { Width = 300, HorizontalAlignment = settings.MascotOn ? HorizontalAlignment.Right : HorizontalAlignment.Center, Margin = new Thickness(0, 0, 40, 0) };
FrameworkElement hi = HomeGreeting(13, pal.Label2, 0);
right.Children.Add(hi);
FrameworkElement q = HomeTitle(30, 300, 430);
Expand All @@ -1440,6 +1440,8 @@ void BuildHomeScene()
right.Children.Add(mr);
HomeEnter(mr, 150 + j * 45, 22, 0, 1);
}
right.Measure(new Size(300, double.PositiveInfinity));
right.Margin = new Thickness(0, Math.Max(36, Math.Min(74, SceneStage + 3 - right.DesiredSize.Height)), 40, 0);
stage.Children.Add(right);

List<FileInfo> latest = settings.ShowRecent ? Recents.Latest(settings, 5) : new List<FileInfo>();
Expand Down
2 changes: 1 addition & 1 deletion src/Home/TrayPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ void BuildItems(bool recording, bool scrolling, bool strip)
AddCapture("video", recording ? I18n.T("Detener grabaci\u00F3n", "Stop recording") : I18n.T("V\u00EDdeo", "Video"), recording ? "stop!" : "video", 2).Alert = recording;
bool paused = recording && Recorder.Paused;
if (recording && Recorder.CanPause) Add(KRow, "pause", paused ? I18n.T("Reanudar grabaci\u00F3n", "Resume recording") : I18n.T("Pausar grabaci\u00F3n", "Pause recording"), paused ? "play" : "pause", 2);
if (!recording) AddCapture("gif", I18n.T("GIF", "GIF", "GIF"), "gif", 2);
if (!recording) AddCapture("gif", I18n.GifAction, "gif", 2);
AddCapture("markdown", I18n.T("Markdown", "Markdown", "Markdown"), "markdown", 2);
Add(KLine, null, null, null, 0);
if (strip && recent.Count > 0)
Expand Down
4 changes: 2 additions & 2 deletions src/I18n.Korean.HomeSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ static void RegisterKoreanHomeSettings(Dictionary<string, string> map)
map["Removes temporary captures; saved files are untouched."] = "\uC784\uC2DC \uCEA1\uCC98\uB97C \uC0AD\uC81C\uD569\uB2C8\uB2E4. \uC800\uC7A5\uD55C \uD30C\uC77C\uC740 \uC720\uC9C0\uD569\uB2C8\uB2E4.";
map["When capturing"] = "\uCEA1\uCC98\uD560 \uB54C";
map["After selecting an area"] = "\uC601\uC5ED \uC120\uD0DD \uD6C4";
map["Direct adds to stack; Adjust first lets you reposition/resize before Enter; Show options lets you pick capture, video, GIF or scroll."] = "\uBC14\uB85C \uCEA1\uCC98\uD558\uBA74 \uC378\uB124\uC77C\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4. \u2018\uCEA1\uCC98 \uC804 \uC870\uC815\u2019\uC5D0\uC11C\uB294 \uC704\uCE58\uC640 \uD06C\uAE30\uB97C \uC870\uC808\uD55C \uB4A4 Enter\uB97C \uB204\uB974\uC138\uC694. \u2018\uC635\uC158 \uD45C\uC2DC\u2019\uC5D0\uC11C\uB294 \uCEA1\uCC98, \uB3D9\uC601\uC0C1, GIF, \uC2A4\uD06C\uB864 \uCEA1\uCC98\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4.";
map["Direct adds to stack; Adjust first lets you reposition/resize before Enter; Show options lets you pick capture, video, GIF or scroll."] = "\uBC14\uB85C \uCEA1\uCC98\uD558\uBA74 \uC378\uB124\uC77C\uC5D0 \uCD94\uAC00\uD569\uB2C8\uB2E4. \u2018\uCEA1\uCC98 \uC804 \uC870\uC815\u2019\uC5D0\uC11C\uB294 \uC704\uCE58\uC640 \uD06C\uAE30\uB97C \uC870\uC808\uD55C \uB4A4 Enter\uB97C \uB204\uB974\uC138\uC694. \u2018\uC635\uC158 \uD45C\uC2DC\u2019\uC5D0\uC11C\uB294 \uCEA1\uCC98, \uB3D9\uC601\uC0C1, GIF \uB179\uD654, \uC2A4\uD06C\uB864 \uCEA1\uCC98\uB97C \uC120\uD0DD\uD569\uB2C8\uB2E4.";
map["Direct to stack"] = "\uBC14\uB85C \uCEA1\uCC98";
map["Adjust before capture"] = "\uCEA1\uCC98 \uC804 \uC870\uC815";
map["Show options"] = "\uC635\uC158 \uD45C\uC2DC";
Expand Down Expand Up @@ -477,7 +477,7 @@ static void RegisterKoreanHomeSettings(Dictionary<string, string> map)
map["Last area"] = "\uB9C8\uC9C0\uB9C9 \uC601\uC5ED";
map["Full screen"] = "\uC804\uCCB4 \uD654\uBA74";
map["A window"] = "\uCC3D";
map["Animated GIF"] = "\uC6C0\uC9C1\uC774\uB294 GIF";
map["Animated GIF"] = "GIF \uB179\uD654";
map["With timer"] = "\uD0C0\uC774\uBA38 \uC0AC\uC6A9";
map["Performance"] = "\uC131\uB2A5";
map["Balanced"] = "\uADE0\uD615";
Expand Down
4 changes: 4 additions & 0 deletions src/I18n.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ internal static string Own(string es, string en, string de, string ko)
return IsSpanish ? es : IsGerman ? de : IsKorean ? ko : en;
}

// GIF as the action the user starts (a tray row, a quick action, a mode button): Korean names the action, every other
// language keeps the format's name. GIF as a file format is plain "GIF" everywhere.
internal static string GifAction { get { return Own("GIF", "GIF", "GIF", "GIF \uB179\uD654"); } }

// Formats a localized string, with the numbers in the interface language's culture. In Korean the particles that
// follow a variable ("{0}\uC744(\uB97C)") are settled in the text, from the value that fills it, before it is formatted:
// the values themselves go in as they are.
Expand Down
Loading
Loading