Merge pull request #1973 from Squidly271/patch-13

Fix translations
This commit is contained in:
tom mortensen
2025-01-07 13:08:41 -08:00
committed by GitHub
2 changed files with 9 additions and 9 deletions

View File

@@ -2562,13 +2562,13 @@ $(function() {
$button.val($button.attr('busyvalue'));
swal({
title: _("Template Name")_,
text: _("Enter name:\nIf name already exists it will be replaced.")_,
title: '_(Template Name)_',
text: "_(Enter name:\nIf name already exists it will be replaced.)_",
type: "input",
showCancelButton: true,
closeOnConfirm: false,
//animation: "slide-from-top",
inputPlaceholder: _("Leaving blank will use OS name.")_
inputPlaceholder: "_(Leaving blank will use OS name.)_"
},
function(inputValue){
@@ -2643,13 +2643,13 @@ $(function() {
$button.val($button.attr('busyvalue'));
swal({
title: _("Template Name")_,
text: _("Enter name:\nIf name already exists it will be replaced.")_,
title: "_(Template Name)_",
text: "_(Enter name:\nIf name already exists it will be replaced.)_",
type: "input",
showCancelButton: true,
closeOnConfirm: false,
//animation: "slide-from-top",
inputPlaceholder: _("Leaving blank will use OS name.")_
inputPlaceholder: "_(Leaving blank will use OS name.)_"
},
function(inputValue){

View File

@@ -216,13 +216,13 @@ $(function() {
$form.find('input').prop('disabled', true);
$button.val($button.attr('busyvalue'));
swal({
title: _("Template Name")_,
text: _("Enter name:\nIf name already exists it will be replaced.")_,
title: "_(Template Name)_",
text: "_(Enter name:\nIf name already exists it will be replaced.)_",
type: "input",
showCancelButton: true,
closeOnConfirm: false,
//animation: "slide-from-top",
inputPlaceholder: _("Leaving blank will use OS name.")_
inputPlaceholder: "_(Leaving blank will use OS name.)_"
},
function(inputValue){
postdata=postdata+"&templatename="+inputValue;