diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svids.hrc | 1 | ||||
-rw-r--r-- | vcl/source/src/btntext.src | 7 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc index d97b0b4f074b..d7d42af72d2b 100644 --- a/vcl/inc/svids.hrc +++ b/vcl/inc/svids.hrc @@ -160,6 +160,7 @@ #define SV_BUTTONTEXT_OK_NOMNEMONIC 10119 #define SV_BUTTONTEXT_CANCEL_NOMNEMONIC 10120 #define SV_BUTTONTEXT_UNDO 10121 +#define SV_BUTTONTEXT_PASTE 10122 #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 e6058950c7b0..588311944a8e 100644 --- a/vcl/source/src/btntext.src +++ b/vcl/source/src/btntext.src @@ -127,5 +127,10 @@ String SV_BUTTONTEXT_SAVE String SV_BUTTONTEXT_UNDO { - Text [ en-US ] = "~Undo " ; + Text [ en-US ] = "~Undo" ; +}; + +String SV_BUTTONTEXT_PASTE +{ + Text [ en-US ] = "~Paste" ; }; diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 58afbe4d1b19..9355c9eba2a6 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -580,6 +580,8 @@ namespace return (VclResId(SV_BUTTONTEXT_SAVE).toString()); else if (rType == "gtk-undo") return (VclResId(SV_BUTTONTEXT_UNDO).toString()); + else if (rType == "gtk-paste") + return (VclResId(SV_BUTTONTEXT_PASTE).toString()); SAL_WARN("vcl.layout", "unknown stock type: " << rType.getStr()); return OUString(); } |