diff --git a/cui/uiconfig/ui/spellingdialog.ui b/cui/uiconfig/ui/spellingdialog.ui index c97a1b5519ed..50b072cf163a 100644 --- a/cui/uiconfig/ui/spellingdialog.ui +++ b/cui/uiconfig/ui/spellingdialog.ui @@ -1,6 +1,7 @@ + False 5 @@ -46,11 +47,12 @@ - _Undo + gtk-undo True True True True + True False @@ -93,6 +95,7 @@ True + False end diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc index 32d24e4c1526..d97b0b4f074b 100644 --- a/vcl/inc/svids.hrc +++ b/vcl/inc/svids.hrc @@ -159,6 +159,7 @@ #define SV_BUTTONTEXT_SAVE 10118 #define SV_BUTTONTEXT_OK_NOMNEMONIC 10119 #define SV_BUTTONTEXT_CANCEL_NOMNEMONIC 10120 +#define SV_BUTTONTEXT_UNDO 10121 #define SV_STDTEXT_FIRST SV_STDTEXT_SERVICENOTAVAILABLE #define SV_STDTEXT_SERVICENOTAVAILABLE 10210 diff --git a/vcl/source/src/btntext.src b/vcl/source/src/btntext.src index 75379f766276..e6058950c7b0 100644 --- a/vcl/source/src/btntext.src +++ b/vcl/source/src/btntext.src @@ -124,3 +124,8 @@ String SV_BUTTONTEXT_SAVE { Text [ en-US ] = "~Save"; }; + +String SV_BUTTONTEXT_UNDO +{ + Text [ en-US ] = "~Undo " ; +}; diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index facb2e50346c..a73ca80095aa 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -579,6 +579,8 @@ namespace return (VclResId(SV_BUTTONTEXT_APPLY).toString()); else if (rType == "gtk-save") return (VclResId(SV_BUTTONTEXT_SAVE).toString()); + else if (rType == "gtk-undo") + return (VclResId(SV_BUTTONTEXT_UNDO).toString()); SAL_WARN("vcl.layout", "unknown stock type: " << rType.getStr()); return OUString(); }