Skip to content
Snippets Groups Projects
Commit 246f9019 authored by Jaime Perez's avatar Jaime Perez
Browse files

Merge branch 'JanOppolzer-translation'

parents 09489d9f 0c7a455d
No related branches found
No related tags found
No related merge requests found
{
"access_denied": {
"en": "You do not have access to this service",
"sl": "Dostop do storitve zavrnjen."
"sl": "Dostop do storitve zavrnjen.",
"cs": "Nem\u00e1te p\u0159\u00edstup k t\u00e9to slu\u017eb\u011b."
},
"no_access_to": {
"en": "Your account %NETID% has expired, access denied!",
"sl": "Dostop zavrnjen, ker je va\u0161e uporabni\u0161ko (NetID) %NETID% ime poteklo!"
"sl": "Dostop zavrnjen, ker je va\u0161e uporabni\u0161ko (NetID) %NETID% ime poteklo!",
"cs": "V\u00e1\u0161 \u00fa\u010det %NETID% expiroval, p\u0159\u00edstup odm\u00edtnut!"
},
"contact_home": {
"en": "Access to services is controlled by your home organization. Please contact your local IT support for questions.",
"sl": "Mo\u017enost dostopa do storitve ureja va\u0161a doma\u010da organizacija. Obrnite se na njihov oddelek za pomo\u010d uporabnikom."
"sl": "Mo\u017enost dostopa do storitve ureja va\u0161a doma\u010da organizacija. Obrnite se na njihov oddelek za pomo\u010d uporabnikom.",
"cs": "P\u0159\u00edstup ke slu\u017eb\u011b je \u0159\u00edzen Va\u0161\u00ed domovskou organizac\u00ed. Pros\u00edm, kontaktujte sv\u00e9ho lok\u00e1ln\u00edho spr\u00e1vce."
},
"expiry_date_text": {
"en": "Expiration date:",
"sl": "Datum poteka:"
"sl": "Datum poteka:",
"cs": "Datum expirace:"
},
"warning_header": {
"en": "Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!",
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% bo poteklo \u010dez %DAYSLEFT% %DAYS%!"
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% bo poteklo \u010dez %DAYSLEFT% %DAYS%!",
"cs": "Pozor! V\u00e1\u0161 \u00fa\u010det %NETID% expiruje za %DAYSLEFT% %DAYS%!"
},
"warning_header_today": {
"en": "Warning, your account %NETID% will expire today!",
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% pote\u010de danes!"
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% pote\u010de danes!",
"cs": "Pozor! V\u00e1\u0161 \u00fa\u010det %NETID% dnes expiruje!"
},
"warning": {
"en": "Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!",
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% bo poteklo \u010dez %DAYSLEFT% %DAYS%!"
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% bo poteklo \u010dez %DAYSLEFT% %DAYS%!",
"cs": "Pozor! V\u00e1\u0161 \u00fa\u010det %NETID% expiruje za %DAYSLEFT% %DAYS%!"
},
"warning_today": {
"en": "Warning, your account %NETID% will expire today!",
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% pote\u010de danes!"
"sl": "Pozor! Va\u0161e uporabni\u0161ko ime (NetID) %NETID% pote\u010de danes!",
"cs": "Pozor! V\u00e1\u0161 \u00fa\u010det %NETID% dnes expiruje!"
},
"day": {
"en": "day",
"sl": "dan"
"sl": "dan",
"cs": "den"
},
"days": {
"en": "days",
"sl": "dni"
"sl": "dni",
"cs": "dn\u00ed"
},
"btn_continue": {
"en": "I am aware of this, continue..." ,
"sl": "Zavedam se tega, nadaljuj..."
"sl": "Zavedam se tega, nadaljuj...",
"cs": "Jsem si toho vědom, pokračovat..."
}
}
......@@ -18,15 +18,15 @@
*/
//$this->data['header'] = $this->t('{expirycheck:warning:warning_header}');
//$this->data['header'] = $this->t('{expirycheck:expwarning:warning_header}');
# netid will expire today
if ($this->data['daysleft'] == 0) {
$this->data['header'] = $this->t('{expirycheck:warning:warning_header_today}', array(
$this->data['header'] = $this->t('{expirycheck:expwarning:warning_header_today}', array(
'%NETID%' => htmlspecialchars($this->data['netId'])
));
$warning = $this->t('{expirycheck:warning:warning_today}', array(
$warning = $this->t('{expirycheck:expwarning:warning_today}', array(
'%NETID%' => htmlspecialchars($this->data['netId'])
));
......@@ -34,37 +34,37 @@ if ($this->data['daysleft'] == 0) {
# netid will expire in one day
elseif ($this->data['daysleft'] == 1) {
$this->data['header'] = $this->t('{expirycheck:warning:warning_header}', array(
$this->data['header'] = $this->t('{expirycheck:expwarning:warning_header}', array(
'%NETID%' => htmlspecialchars($this->data['netId']),
'%DAYS%' => $this->t('{expirycheck:warning:day}'),
'%DAYS%' => $this->t('{expirycheck:expwarning:day}'),
'%DAYSLEFT%' => htmlspecialchars($this->data['daysleft']),
));
$warning = $this->t('{expirycheck:warning:warning}', array(
$warning = $this->t('{expirycheck:expwarning:warning}', array(
'%NETID%' => htmlspecialchars($this->data['netId']),
'%DAYS%' => $this->t('{expirycheck:warning:day}'),
'%DAYS%' => $this->t('{expirycheck:expwarning:day}'),
'%DAYSLEFT%' => htmlspecialchars($this->data['daysleft']),
));
}
# netid will expire in next <daysleft> days
else {
$this->data['header'] = $this->t('{expirycheck:warning:warning_header}', array(
$this->data['header'] = $this->t('{expirycheck:expwarning:warning_header}', array(
'%NETID%' => htmlspecialchars($this->data['netId']),
'%DAYS%' => $this->t('{expirycheck:warning:days}'),
'%DAYS%' => $this->t('{expirycheck:expwarning:days}'),
'%DAYSLEFT%' => htmlspecialchars($this->data['daysleft']),
));
$warning = $this->t('{expirycheck:warning:warning}', array(
$warning = $this->t('{expirycheck:expwarning:warning}', array(
'%NETID%' => htmlspecialchars($this->data['netId']),
'%DAYS%' => $this->t('{expirycheck:warning:days}'),
'%DAYS%' => $this->t('{expirycheck:expwarning:days}'),
'%DAYSLEFT%' => htmlspecialchars($this->data['daysleft']),
));
}
//$this->data['header'] = str_replace("%DAYSLEFT%", $this->data['daysleft'], str_replace("%NETID%", $this->data['netId'], $this->t('{expirycheck:warning:warning_header}')));
//$this->data['header'] = str_replace("%DAYSLEFT%", $this->data['daysleft'], str_replace("%NETID%", $this->data['netId'], $this->t('{expirycheck:expwarning:warning_header}')));
$this->data['autofocus'] = 'yesbutton';
$this->includeAtTemplateBase('includes/header.php');
......@@ -80,9 +80,9 @@ $this->includeAtTemplateBase('includes/header.php');
}
?>
<h3><?php echo $warning; ?></h3>
<p><?php echo $this->t('{expirycheck:warning:expiry_date_text}') . " " . $this->data['expireOnDate']; ?></p>
<p><?php echo $this->t('{expirycheck:expwarning:expiry_date_text}') . " " . $this->data['expireOnDate']; ?></p>
<input type="submit" name="yes" id="yesbutton" value="<?php echo htmlspecialchars($this->t('{expirycheck:warning:btn_continue}')) ?>" />
<input type="submit" name="yes" id="yesbutton" value="<?php echo htmlspecialchars($this->t('{expirycheck:expwarning:btn_continue}')) ?>" />
</form>
......
<?php
$this->data['header'] = $this->t('{expirycheck:warning:access_denied}');
$this->data['header'] = $this->t('{expirycheck:expwarning:access_denied}');
$this->includeAtTemplateBase('includes/header.php');
?>
<h2><?php echo $this->t('{expirycheck:warning:access_denied}');?></h2>
<p><?php echo $this->t('{expirycheck:warning:no_access_to}', array('%NETID%' => htmlspecialchars($this->data['netId'])));?></p>
<p><?php echo $this->t('{expirycheck:warning:expiry_date_text}');?> <b><?php echo htmlspecialchars($this->data['expireOnDate']);?></b></p>
<p><?php echo $this->t('{expirycheck:warning:contact_home}');?></p>
<h2><?php echo $this->t('{expirycheck:expwarning:access_denied}');?></h2>
<p><?php echo $this->t('{expirycheck:expwarning:no_access_to}', array('%NETID%' => htmlspecialchars($this->data['netId'])));?></p>
<p><?php echo $this->t('{expirycheck:expwarning:expiry_date_text}');?> <b><?php echo htmlspecialchars($this->data['expireOnDate']);?></b></p>
<p><?php echo $this->t('{expirycheck:expwarning:contact_home}');?></p>
<?php
$this->includeAtTemplateBase('includes/footer.php');
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment