Skip to content

Commit 258b6a5

Browse files
teamconswpkelso
andauthored
Make error dialog translatable (#45)
* Allow Drag&Drop from Documents * Correct mistake * Translatable error dialog --------- Co-authored-by: William Kelso <[email protected]>
1 parent 8d0974c commit 258b6a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Application.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public class Application : Gtk.Application {
146146
var window = get_windows ().first ().data;
147147
var error_dialog = new
148148
Granite.MessageDialog.with_image_from_icon_name (
149-
"Couldn't open file",
150-
"The specified file is not a valid text file, or Slate could not access it",
149+
_("Couldn't open file"),
150+
_("The specified file is not a valid text file, or Slate could not access it"),
151151
"dialog-error"
152152
) {
153153
transient_for = window

0 commit comments

Comments
 (0)