mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
change string 'Close' to lowercase for dialog (#2366)
This commit is contained in:
parent
bea6d741e3
commit
e6e346ea29
@ -136,7 +136,7 @@ $tw.utils.error = function(err) {
|
||||
heading = dm("h1",{text: errHeading}),
|
||||
prompt = dm("div",{text: promptMsg, "class": "tc-error-prompt"}),
|
||||
message = dm("div",{text: err}),
|
||||
button = dm("button",{text: ( $tw.language == undefined ? "Close" : $tw.language.getString("Buttons/Close/Caption") )}),
|
||||
button = dm("button",{text: ( $tw.language == undefined ? "close" : $tw.language.getString("Buttons/Close/Caption") )}),
|
||||
form = dm("form",{children: [heading,prompt,message,button], "class": "tc-error-form"});
|
||||
document.body.insertBefore(form,document.body.firstChild);
|
||||
form.addEventListener("submit",function(event) {
|
||||
|
@ -122,7 +122,7 @@ Modal.prototype.display = function(title,options) {
|
||||
attributes: {
|
||||
text: {
|
||||
type: "string",
|
||||
value: ( $tw.language == undefined ? "Close" : $tw.language.getString("Buttons/Close/Caption") )
|
||||
value: $tw.language.getString("Buttons/Close/Caption")
|
||||
}}}
|
||||
]}],
|
||||
parentWidget: $tw.rootWidget,
|
||||
|
Loading…
Reference in New Issue
Block a user