mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Revert "Ensure client-side translations are correctly extracted into the message templates."
This reverts commit 82bd97aed0.
There are still issues extracting with these changes.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
define(
|
||||
['jquery', 'alertify', 'pgadmin', 'underscore', 'backform', 'sources/gettext', 'pgadmin.backform'],
|
||||
['jquery', 'alertify', 'pgadmin', 'underscore', 'backform', 'sources/translate', 'pgadmin.backform'],
|
||||
|
||||
// This defines the Preference/Options Dialog for pgAdmin IV.
|
||||
function($, alertify, pgAdmin, _, Backform, gettext) {
|
||||
function($, alertify, pgAdmin, _, Backform, t) {
|
||||
pgAdmin = pgAdmin || window.pgAdmin || {};
|
||||
|
||||
/*
|
||||
@@ -23,8 +23,8 @@ define(
|
||||
// and reload the window
|
||||
show: function() {
|
||||
var obj = this;
|
||||
alertify.confirm(gettext('Reset layout'),
|
||||
gettext('Are you sure you want to reset the current layout? This will cause the application to reload and any un-saved data will be lost.'),
|
||||
alertify.confirm(t('Reset layout'),
|
||||
t('Are you sure you want to reset the current layout? This will cause the application to reload and any un-saved data will be lost.'),
|
||||
function() {
|
||||
var reloadingIndicator = $('<div id="reloading-indicator"></div>');
|
||||
$('body').append(reloadingIndicator);
|
||||
|
||||
Reference in New Issue
Block a user