mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fixed legacy gettext typos
This commit is contained in:
@@ -27,10 +27,10 @@ foreach ($result as $mode => $value) {
|
||||
}
|
||||
echo '</tbody></table>';
|
||||
echo strtoupper($callsign) . ' ' . sprintf(
|
||||
ngettext('has %d band slot', 'has %d band slots', intval($count)),
|
||||
_ngettext('has %d band slot', 'has %d band slots', intval($count)),
|
||||
intval($count)
|
||||
) . ' ' . sprintf(
|
||||
ngettext('and has %d QSO in the log', 'and has %d QSOs in the log', intval($qsocount)),
|
||||
_ngettext('and has %d QSO in the log', 'and has %d QSOs in the log', intval($qsocount)),
|
||||
intval($qsocount)
|
||||
) . '.<br /><br />';
|
||||
?>
|
||||
|
||||
@@ -72,7 +72,7 @@ if ($dxcc_list->result() > 0) {
|
||||
<label for="stationDXCCInput"><?= __("Station DXCC"); ?></label>
|
||||
<?php if ($dxcc_list->num_rows() > 0) { ?>
|
||||
<select class="form-control" id="dxcc_id" name="dxcc" aria-describedby="stationCallsignInputHelp" required>
|
||||
<option value="" <?php if (!isset($dxcc) || $dxcc == "") { echo "selected"; } ?>><?= _("Please select one"); ?></option>
|
||||
<option value="" <?php if (!isset($dxcc) || $dxcc == "") { echo "selected"; } ?>><?= __("Please select one"); ?></option>
|
||||
<?php foreach ($dxcc_list->result() as $dxcc_item) { ?>
|
||||
<option value="<?php echo $dxcc_item->adif; ?>" <?php if(isset($dxcc) && $dxcc_item->adif == $dxcc) { echo "selected='selected'"; } ?>><?php echo ucwords(strtolower($dxcc_item->name)) . ' - ' . $dxcc_item->prefix; if ($dxcc_item->end != NULL) echo ' ('.__("Deleted DXCC").')';?>
|
||||
</option>
|
||||
|
||||
Reference in New Issue
Block a user