Index: src/webapp/components/undo/js/Undo.js
===================================================================
--- src/webapp/components/undo/js/Undo.js (revision 9770)
+++ src/webapp/components/undo/js/Undo.js (working copy)
@@ -23,10 +23,11 @@
STATE_REVERTED = "state_reverted";
function defaultRenderer(that, targetContainer) {
+ var str = that.options.strings;
var markup = "" +
- "[undo]" +
- "[redo]" +
- "";
+ "" + str.undo + "" +
+ "" + str.redo + "" +
+ "";
var markupNode = $(markup).attr({
"role": "region",
"aria-live": "polite",
@@ -120,11 +121,16 @@
fluid.defaults("undo", {
selectors: {
- undoContainer: ".flc-undo-undoContainer",
+ undoContainer: ".flc-undo-undoControl",
undoControl: ".flc-undo-undoControl",
- redoContainer: ".flc-undo-redoContainer",
+ redoContainer: ".flc-undo-redoControl",
redoControl: ".flc-undo-redoControl"
},
+
+ strings: {
+ undo: "undo edit",
+ redo: "redo edit"
+ },
renderer: defaultRenderer
});