[gitg/unif: 2/2] i18n: Clarify unified/splitted diff view toggle
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/unif: 2/2] i18n: Clarify unified/splitted diff view toggle
- Date: Tue, 1 Feb 2022 11:03:40 +0000 (UTC)
commit a18a3e17d1afc1bd7f62e0b4206f3bacb1fb548e
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Mon Jan 31 23:19:13 2022 +0100
i18n: Clarify unified/splitted diff view toggle
libgitg/gitg-diff-view-file.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libgitg/gitg-diff-view-file.vala b/libgitg/gitg-diff-view-file.vala
index 86af2a92..797a9282 100644
--- a/libgitg/gitg-diff-view-file.vala
+++ b/libgitg/gitg-diff-view-file.vala
@@ -147,10 +147,12 @@ class Gitg.DiffViewFile : Gtk.Grid
renderer.bind_property("added", d_diff_stat_file, "added");
renderer.bind_property("removed", d_diff_stat_file, "removed");
+ // Translators: Unif stands for unified diff format
add_renderer(renderer, scrolled_window, "text", _("Unif"), true);
var renderer_split = new DiffViewFileRendererTextSplit(info, handle_selection);
renderer_split.show();
+ // Translators: Split stands for the noun
add_renderer(renderer_split, renderer_split, "splittext", _("Split"), true);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]