[gitg/quotes: 1/2] Fix end quotes on messages
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/quotes: 1/2] Fix end quotes on messages
- Date: Tue, 1 Feb 2022 22:44:52 +0000 (UTC)
commit bdff3ff5c7b4bf42c6881e19782870fb5f8546f3
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Tue Feb 1 23:19:18 2022 +0100
Fix end quotes on messages
gitg/gitg-commit-action-cherry-pick.vala | 10 +++++-----
gitg/gitg-ref-action-checkout.vala | 2 +-
gitg/gitg-ref-action-merge.vala | 18 +++++++++---------
3 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/gitg/gitg-commit-action-cherry-pick.vala b/gitg/gitg-commit-action-cherry-pick.vala
index 0beb27ec..989899db 100644
--- a/gitg/gitg-commit-action-cherry-pick.vala
+++ b/gitg/gitg-commit-action-cherry-pick.vala
@@ -114,7 +114,7 @@ class CommitActionCherryPick : GitgExt.UIElement, GitgExt.Action, GitgExt.Commit
}
catch (Error e)
{
- notification.error(_("Failed to lookup the commit for branch “%s“:
%s").printf(theirs_name, e.message));
+ notification.error(_("Failed to lookup the commit for branch “%s”:
%s").printf(theirs_name, e.message));
return null;
}
@@ -150,11 +150,11 @@ class CommitActionCherryPick : GitgExt.UIElement, GitgExt.Action, GitgExt.Commit
if (ishead)
{
- message = _("The cherry pick of “%s“ onto “%s“ has caused conflicts, would you like
to checkout branch “%s“ with the cherry pick to your working directory to resolve the
conflicts?").printf(ours_name, theirs_name, theirs_name);
+ message = _("The cherry pick of “%s” onto “%s” has caused conflicts, would you like
to checkout branch “%s” with the cherry pick to your working directory to resolve the
conflicts?").printf(ours_name, theirs_name, theirs_name);
}
else
{
- message = _("The cherry-pick of “%s“ onto “%s“ has caused conflicts, would you like
to checkout the cherry pick to your working directory to resolve the conflicts?").printf(ours_name,
theirs_name);
+ message = _("The cherry-pick of “%s” onto “%s” has caused conflicts, would you like
to checkout the cherry pick to your working directory to resolve the conflicts?").printf(ours_name,
theirs_name);
}
var q = new GitgExt.UserQuery.full(_("Cherry pick has conflicts"),
@@ -196,7 +196,7 @@ class CommitActionCherryPick : GitgExt.UIElement, GitgExt.Action, GitgExt.Commit
var shortid = id.to_string()[0:6];
var name = destination.parsed_name.shortname;
- var notification = new SimpleNotification(_("Cherry pick “%s“ onto “%s“").printf(shortid,
name));
+ var notification = new SimpleNotification(_("Cherry pick “%s” onto “%s”").printf(shortid,
name));
application.notifications.add(notification);
@@ -258,7 +258,7 @@ class CommitActionCherryPick : GitgExt.UIElement, GitgExt.Action, GitgExt.Commit
var name = dest.parsed_name.shortname;
var subitem = new Gtk.MenuItem.with_label(name);
- subitem.tooltip_text = _("Cherry pick onto “%s“").printf(name);
+ subitem.tooltip_text = _("Cherry pick onto “%s”").printf(name);
subitem.show();
subitem.activate.connect(() => {
diff --git a/gitg/gitg-ref-action-checkout.vala b/gitg/gitg-ref-action-checkout.vala
index e8126272..4a5b58e2 100644
--- a/gitg/gitg-ref-action-checkout.vala
+++ b/gitg/gitg-ref-action-checkout.vala
@@ -69,7 +69,7 @@ class RefActionCheckout : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction,
public async bool checkout()
{
var repo = application.repository;
- var notification = new SimpleNotification(_("Checkout
“%s“").printf(reference.parsed_name.shortname));
+ var notification = new SimpleNotification(_("Checkout
“%s”").printf(reference.parsed_name.shortname));
bool retval = false;
application.notifications.add(notification);
diff --git a/gitg/gitg-ref-action-merge.vala b/gitg/gitg-ref-action-merge.vala
index e5b06e86..7cc9da4b 100644
--- a/gitg/gitg-ref-action-merge.vala
+++ b/gitg/gitg-ref-action-merge.vala
@@ -139,11 +139,11 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
if (source.parsed_name.rtype == RefType.REMOTE)
{
- msg = @"Merge remote branch “$theirs_name“";
+ msg = @"Merge remote branch “$theirs_name”";
}
else
{
- msg = @"Merge branch “$theirs_name“";
+ msg = @"Merge branch “$theirs_name”";
}
msg += "\n\nConflicts:\n";
@@ -181,11 +181,11 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
if (ishead)
{
- message = _("The merge of “%s“ into “%s“ has caused conflicts, would you like to
checkout branch “%s“ with the merge to your working directory to resolve the conflicts?").printf(theirs_name,
ours_name, ours_name);
+ message = _("The merge of “%s” into “%s” has caused conflicts, would you like to
checkout branch “%s” with the merge to your working directory to resolve the conflicts?").printf(theirs_name,
ours_name, ours_name);
}
else
{
- message = _("The merge of “%s“ into “%s“ has caused conflicts, would you like to
checkout the merge to your working directory to resolve the conflicts?").printf(theirs_name, ours_name);
+ message = _("The merge of “%s” into “%s” has caused conflicts, would you like to
checkout the merge to your working directory to resolve the conflicts?").printf(theirs_name, ours_name);
}
var q = new GitgExt.UserQuery.full(_("Merge has conflicts"),
@@ -219,7 +219,7 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
var ours_name = reference.parsed_name.shortname;
var theirs_name = source.parsed_name.shortname;
- var notification = new SimpleNotification(_("Merge “%s“ into “%s“").printf(theirs_name,
ours_name));
+ var notification = new SimpleNotification(_("Merge “%s” into “%s”").printf(theirs_name,
ours_name));
application.notifications.add(notification);
try
@@ -259,11 +259,11 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
if (source.parsed_name.rtype == RefType.REMOTE)
{
- msg = @"Merge remote branch “$theirs_name“";
+ msg = @"Merge remote branch “$theirs_name”";
}
else
{
- msg = @"Merge branch “$theirs_name“";
+ msg = @"Merge branch “$theirs_name”";
}
var oid = yield d_support.commit_index(notification,
@@ -275,7 +275,7 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
if (oid != null)
{
- notification.success(_("Successfully merged “%s“ into “%s“").printf(theirs_name,
ours_name));
+ notification.success(_("Successfully merged “%s” into “%s”").printf(theirs_name,
ours_name));
}
return oid;
@@ -317,7 +317,7 @@ class RefActionMerge : GitgExt.UIElement, GitgExt.Action, GitgExt.RefAction, Obj
var item = new Gtk.MenuItem.with_label(name);
item.show();
- item.tooltip_text = _("Merge “%s“ into branch “%s“").printf(name,
reference.parsed_name.shortname);
+ item.tooltip_text = _("Merge “%s” into branch “%s”").printf(name,
reference.parsed_name.shortname);
item.activate.connect(() => {
activate_source(source);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]