summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-empty-view.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-08-22 17:12:19 +0800
committerraveit65 <[email protected]>2019-08-26 14:21:14 +0200
commitf0331c554e87855b75d4089796add4a2a6003771 (patch)
tree8c79c77a97d344da92a487beccaaad94af9f01d4 /src/file-manager/fm-empty-view.c
parent18f8b7ab6417aecf62c7b2a311190c70de12e17c (diff)
downloadcaja-f0331c554e87855b75d4089796add4a2a6003771.tar.bz2
caja-f0331c554e87855b75d4089796add4a2a6003771.tar.xz
Let some strings be translatable
Diffstat (limited to 'src/file-manager/fm-empty-view.c')
-rw-r--r--src/file-manager/fm-empty-view.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/file-manager/fm-empty-view.c b/src/file-manager/fm-empty-view.c
index 3aff6ec6..d14f4cd2 100644
--- a/src/file-manager/fm-empty-view.c
+++ b/src/file-manager/fm-empty-view.c
@@ -24,6 +24,7 @@
#include <config.h>
#include <string.h>
+#include <glib/gi18n.h>
#include <eel/eel-glib-extensions.h>
#include <eel/eel-gtk-macros.h>
@@ -393,11 +394,11 @@ fm_empty_view_supports_uri (const char *uri,
static CajaViewInfo fm_empty_view =
{
.id = FM_EMPTY_VIEW_ID,
- .view_combo_label = "Empty",
- .view_menu_label_with_mnemonic = "Empty View",
- .error_label = "_Empty View",
- .startup_error_label = "The empty view encountered an error.",
- .display_location_label = "Display this location with the empty view.",
+ .view_combo_label = N_("Empty View"),
+ .view_menu_label_with_mnemonic = N_("_Empty"),
+ .error_label = N_("Empty View"),
+ .startup_error_label = N_("The empty view encountered an error."),
+ .display_location_label = N_("Display this location with the empty view."),
.create = fm_empty_view_create,
.supports_uri =fm_empty_view_supports_uri
};