Skip to content

Commit 2fb5c94

Browse files
committed
Translated Wizard
1 parent 26af20c commit 2fb5c94

File tree

7 files changed

+948
-138
lines changed

7 files changed

+948
-138
lines changed

admin/js/bread-wizard.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@ jQuery(document).ready(function($){
6363
ask_bmlt("switcher=GetServerInfo",
6464
(info) => {
6565
$('#wizard_root_server_result').removeClass('invalid-feedback dashicons-dismiss')
66-
.addClass('valid-feedback dashicons-before dashicons-yes-alt').html('Connected! - BMLT Server version '+info[0]['version']);
66+
.addClass('valid-feedback dashicons-before dashicons-yes-alt').html($('#wizard_connected_message').html()+info[0].version);
6767
},
6868
(error) => {
6969
$('#wizard_root_server_result').removeClass('valid-feedback dashicons-yes-alt')
70-
.addClass('invalid-feedback dashicons-before dashicons-dismiss').html('Could not connect: Check spelling and internet connection.');
70+
.addClass('invalid-feedback dashicons-before dashicons-dismiss').html($('#wizard_disconnected_message').html());
7171
});
7272
}
7373
BreadWizard.prototype.root_server_keypress = function(event) {
7474
if (event.code == 'Enter') this.test_root_server();
7575
}
7676
BreadWizard.prototype.root_server_changed = function() {
7777
$('#wizard_root_server_result').removeClass('valid-feedback').addClass('invalid-feedback dashicons-before dashicons-dismiss')
78-
.html('Test that this is valid root server URL before continuing');
78+
.html($('#wizard_testnow_message').html());
7979
}
8080
BreadWizard.prototype.finish = function() {
8181
$('#bread-wizard').smartWizard("reset");

admin/partials/_bread_wizard.php

Lines changed: 68 additions & 58 deletions
Large diffs are not rendered by default.

admin/partials/_meeting_list_setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="poststuff">
1313
<div id="postbox-container" class="postbox-container">
1414
<div id="accordion" class="bmlt-accordion">
15-
<h3 class="help-accordion"><strong>Start Here: Meeting List Setup Wizard</strong></h3>
15+
<h3 class="help-accordion"><strong><?php esc_html_e('Start Here: Meeting List Setup Wizard', 'bread') ?></strong></h3>
1616
<?php include '_bread_wizard.php'; ?>
1717
<h3 class="help-accordion">Multiple Meeting Lists</h3>
1818
<div>

languages/bread-fa_IR.l10n.php

Lines changed: 39 additions & 12 deletions
Large diffs are not rendered by default.

languages/bread-fa_IR.mo

11.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)