Skip to content

Commit

Permalink
AppChooser: Make primary text translatable (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Jan 6, 2023
1 parent 836e9b4 commit 861436e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AppChooser/Dialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public class AppChooser.Dialog : Hdy.Window {
AppInfo? info = app_id == "" ? null : new DesktopAppInfo (app_id + ".desktop");
Hdy.init ();

var primary_text = "Open file with…";
var primary_text = _("Open file with…");
if (filename != "") {
primary_text = "Open “%s” with…".printf (filename);
primary_text = _("Open “%s” with…").printf (filename);
}

var content_description = ContentType.get_description ("text/plain");
Expand Down

0 comments on commit 861436e

Please sign in to comment.