stringify

This commit is contained in:
HB9HIL
2024-08-17 17:35:51 +02:00
parent 11a1482876
commit d2cafea50a
5 changed files with 10 additions and 7 deletions

View File

@@ -451,7 +451,7 @@ class Awards extends CI_Controller {
// Render Page
$data['page_title'] = __("Log View")." - " . $type;
$data['filter'] = $type." ".$searchphrase." and band ".$band;
$data['filter'] = $type." ".$searchphrase.__(" and band ").$band;
if ($band == 'SAT') {
if ($sat != 'All' && $sat != null) {
$data['filter'] .= __(" and sat ").$sat;

View File

@@ -6,9 +6,9 @@
var lang_statistics_accumulated_worked_vucc = '<?= __("Accumulated number of VUCC Grids worked"); ?>';
var lang_statistics_accumulated_worked_waja = '<?= __("Accumulated number of WAJA worked"); ?>';
var lang_general_word_year = '<?= __("Year"); ?>';
var lang_general_word_yearly = '<?= __("Yearly"); ?>';
var lang_general_word_yearly = "<?= html_entity_decode(__("Yearly")); ?>";
var lang_general_word_month = '<?= __("Month"); ?>';
var lang_general_word_monthly = '<?= __("Monthly"); ?>';
var lang_general_word_monthly = '<?= html_entity_decode(__("Monthly")); ?>';
var lang_general_word_diff = '<?= __("Difference"); ?>';
</script>
<div class="container">

View File

@@ -1,3 +1,6 @@
<script>
let lang_activators_map = "<?= __("Activators Map"); ?>";
</script>
<div class="container">
<h1><?= __("Gridsquare Activators"); ?></h1>

View File

@@ -721,9 +721,9 @@ function showActivatorsMap(call, count, grids) {
let re = /,/g;
grids = grids.replace(re, ', ');
var result = "Callsign: "+call.replace('0', '&Oslash;')+"<br />";
result += "Count: "+count+"<br/>";
result += "Grids: "+grids+"<br/><br />";
var result = '<?= __("Callsign: "); ?>'+call.replace('0', '&Oslash;')+"<br />";
result += '<?= __("Count: "); ?>'+count+"<br/>";
result += '<?= __("Grids: "); ?>'+grids+"<br/><br />";
$(".activatorsmapResult").html(result);

View File

@@ -633,7 +633,7 @@ function spawnActivatorsMap(call, count, grids) {
type: 'post',
success: function (html) {
BootstrapDialog.show({
title: 'Activators Map',
title: lang_activators_map,
size: BootstrapDialog.SIZE_WIDE,
cssClass: 'lookup-dialog',
nl2br: false,