[ghex] appwin: Properly call gettext on string marked for translation



commit 001a38f04a2bddae403f3f30a8384bac7c088f26
Author: Logan Rathbone <poprocks gmail com>
Date:   Sun Jun 26 14:55:05 2022 -0400

    appwin: Properly call gettext on string marked for translation

 src/ghex-application-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ghex-application-window.c b/src/ghex-application-window.c
index b93f6f3..9e171a6 100644
--- a/src/ghex-application-window.c
+++ b/src/ghex-application-window.c
@@ -2136,7 +2136,7 @@ ghex_application_window_open_file (GHexApplicationWindow *self, GFile *file)
        /* Display a fairly generic error message if we can't even get this far. */
        if (! gh)
        {
-               char *error_msg = N_("There was an error loading the requested file. "
+               char *error_msg = ("There was an error loading the requested file. "
                                "The file either no longer exists, is inaccessible, "
                                "or you may not have permission to access the file.");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]