Merge lp:~leonardolemos/granite/fix-translator-credits into lp:~elementary-pantheon/granite/granite

Proposed by Leonardo Lemos
Status: Merged
Approved by: Cody Garver
Approved revision: 913
Merged at revision: 915
Proposed branch: lp:~leonardolemos/granite/fix-translator-credits
Merge into: lp:~elementary-pantheon/granite/granite
Diff against target: 12 lines (+1/-1)
1 file modified
lib/GtkPatch/AboutDialog.vala (+1/-1)
To merge this branch: bzr merge lp:~leonardolemos/granite/fix-translator-credits
Reviewer Review Type Date Requested Status
Adam Bieńkowski (community) Approve
Rico Tzschichholz Approve
Review via email: mp+280331@code.launchpad.net

Commit message

AboutDialog: Hide Translator Credits to en_US users

Description of the change

Hide Translator Credits to en_US users, since this language doesn't have traslators.

To post a comment you must log in.
Revision history for this message
Rico Tzschichholz (ricotz) :
review: Approve
Revision history for this message
Adam Bieńkowski (donadigo) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/GtkPatch/AboutDialog.vala'
2--- lib/GtkPatch/AboutDialog.vala 2015-11-25 15:53:53 +0000
3+++ lib/GtkPatch/AboutDialog.vala 2015-12-11 17:03:27 +0000
4@@ -167,7 +167,7 @@
5 public string translator_credits {
6 set {
7 _translator_credits = value;
8- if (_translator_credits == null || _translator_credits == "") {
9+ if (_translator_credits == null || _translator_credits == "" || _translator_credits == "translator-credits") {
10 translators_label.hide();
11 translators_label.set_text("");
12 }

Subscribers

People subscribed via source and target branches