diff options
author | Wu Xiaotian <[email protected]> | 2019-08-22 17:12:19 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 21:40:42 +0200 |
commit | 52dd77263da54a509ae81833bef2c452d6948e57 (patch) | |
tree | 6e47c01fea87bd6b7620e1a187fbea9866d7081d /src | |
parent | f13081b8602f587644da8188c23f6cd8b6386d97 (diff) | |
download | caja-52dd77263da54a509ae81833bef2c452d6948e57.tar.bz2 caja-52dd77263da54a509ae81833bef2c452d6948e57.tar.xz |
Let some strings be translatable
Diffstat (limited to 'src')
-rw-r--r-- | src/file-manager/fm-desktop-icon-view.c | 6 | ||||
-rw-r--r-- | src/file-manager/fm-empty-view.c | 11 |
2 files changed, 9 insertions, 8 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c index 02952fa8..ff0fc8eb 100644 --- a/src/file-manager/fm-desktop-icon-view.c +++ b/src/file-manager/fm-desktop-icon-view.c @@ -883,11 +883,11 @@ fm_desktop_icon_view_supports_uri (const char *uri, static CajaViewInfo fm_desktop_icon_view = { .id = FM_DESKTOP_ICON_VIEW_ID, - .view_combo_label = "Desktop View", - .view_menu_label_with_mnemonic = "_Desktop", + .view_combo_label = N_("Desktop View"), + .view_menu_label_with_mnemonic = N_("_Desktop"), .error_label = N_("The desktop view encountered an error."), .startup_error_label = N_("The desktop view encountered an error while starting up."), - .display_location_label = "Display this location with the desktop view.", + .display_location_label = N_("Display this location with the desktop view."), .create = fm_desktop_icon_view_create, .supports_uri = fm_desktop_icon_view_supports_uri }; diff --git a/src/file-manager/fm-empty-view.c b/src/file-manager/fm-empty-view.c index 4c001b3b..ffac4292 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 }; |