Fix wrong translation keys
This commit is contained in:
@@ -261,8 +261,8 @@ define(function () {
|
|||||||
|
|
||||||
out.settings_importTitle = "Import this browser's recent pads in my CryptDrive";
|
out.settings_importTitle = "Import this browser's recent pads in my CryptDrive";
|
||||||
out.settings_import = "Import";
|
out.settings_import = "Import";
|
||||||
out.settings_confirm = "Are you sure you want to import recent pads from this browser to your user account's CryptDrive?";
|
out.settings_importConfirm = "Are you sure you want to import recent pads from this browser to your user account's CryptDrive?";
|
||||||
out.settings_done = "Import completed";
|
out.settings_importDone = "Import completed";
|
||||||
|
|
||||||
out.settings_userFeedbackHint1 = "CryptPad provides some very basic feedback to the server, to let us know how to improve your experience.";
|
out.settings_userFeedbackHint1 = "CryptPad provides some very basic feedback to the server, to let us know how to improve your experience.";
|
||||||
out.settings_userFeedbackHint2 = "Your pad's content will never be shared with the server.";
|
out.settings_userFeedbackHint2 = "Your pad's content will never be shared with the server.";
|
||||||
|
|||||||
@@ -224,7 +224,6 @@ define([
|
|||||||
var $ok = $('<span>', {'class': 'fa fa-check', title: Messages.saved}).hide().appendTo($div);
|
var $ok = $('<span>', {'class': 'fa fa-check', title: Messages.saved}).hide().appendTo($div);
|
||||||
var $spinner = $('<span>', {'class': 'fa fa-spinner fa-pulse'}).hide().appendTo($div);
|
var $spinner = $('<span>', {'class': 'fa fa-spinner fa-pulse'}).hide().appendTo($div);
|
||||||
|
|
||||||
|
|
||||||
$button.click(function () {
|
$button.click(function () {
|
||||||
Cryptpad.confirm(Messages.settings_importConfirm, function (yes) {
|
Cryptpad.confirm(Messages.settings_importConfirm, function (yes) {
|
||||||
if (!yes) { return; }
|
if (!yes) { return; }
|
||||||
|
|||||||
@@ -454,8 +454,7 @@ define([
|
|||||||
|
|
||||||
var fixCSS = function (css) {
|
var fixCSS = function (css) {
|
||||||
var append = '.cp #print ';
|
var append = '.cp #print ';
|
||||||
css = css.replace(/(\n*)([^\n]+)\s*\{/g, '$1' + append + '$2 {')
|
return css.replace(/(\n*)([^\n]+)\s*\{/g, '$1' + append + '$2 {');
|
||||||
return css;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var todo = function () {
|
var todo = function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user