Skip to content

Commit

Permalink
Refactor L10N data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Sep 19, 2023
1 parent 99dd14f commit a292dc8
Show file tree
Hide file tree
Showing 47 changed files with 2,089 additions and 1,984 deletions.
4 changes: 2 additions & 2 deletions assets/default/_2fa.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="login">
<form action="?" method="POST" style="text-align:center">
<h1>{label.Please log in to continue}</h1>
<div class="txtRd"><small>{tip_2fa_sent}</small><br /><br />{state_msg}{2fa_status_spacer}</div>
<div class="txtRd"><small>{tip.2FA Sent}</small><br /><br />{state_msg}{2fa_status_spacer}</div>
<input id="2fa" name="2fa" type="text" placeholder="{field.2FA code}" autocomplete="one-time-code" />
<input name="phpmussel-form-target" type="hidden" value="2fa" /><br />
<input type="submit" value="{field.Confirm}" class="auto" /><br /><br />
<div class="txtRd"><small>{tip_fe_cookie_warning}</small></div>
<div class="txtRd"><small>{warning.Cookies}</small></div>
</form>
</div>
4 changes: 2 additions & 2 deletions assets/default/_accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<tr>
<form action="?phpmussel-page=accounts" method="POST"><input name="phpmussel-form-target" type="hidden" value="accounts" /><input name="do" type="hidden" value="create-account" />
<td class="h1 big"><div class="s"><input name="username" type="text" placeholder="{field.Username}" autocomplete="username" /></td>
<td class="h1 big"><div class="s"><select name="permissions"><option value="1">{state_complete_access}</option><option value="2">{state_logs_access_only}</option></select></div></td>
<td class="h1 big"><div class="s"><select name="permissions"><option value="1">{label.Complete access}</option><option value="2">{label.Logs access only}</option></select></div></td>
<td class="h1 big"><div class="s"><input name="password" type="password" placeholder="{field.Password}" autocomplete="new-password" /></div></td>
<td class="h1f extend">
<div class="s big"><div class="s"><input type="submit" value="{field.Create new account}" /></div></div>
<div class="s mob"><div class="s">
<input name="username_mob" type="text" placeholder="{field.Username}" autocomplete="username" /><br />
<select name="permissions_mob"><option value="1">{state_complete_access}</option><option value="2">{state_logs_access_only}</option></select><br />
<select name="permissions_mob"><option value="1">{label.Complete access}</option><option value="2">{label.Logs access only}</option></select><br />
<input name="password_mob" type="password" placeholder="{field.Password}" autocomplete="new-password" /><br />
<input type="submit" value="{field.Create new account}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions assets/default/_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<tr><td class="ng2"><div class="s">{link.Configuration}</div></td></tr>
<tr>
<td class="ng1">
<div class="s">{tip_see_the_documentation}<hr /><em>{label.Active configuration file} <span class="txtRd">{ActiveConfigFile}</span></em><hr /></div>
<div class="s">{tip.See the documentation}<hr /><em>{label.Active configuration file} <span class="txtRd">{ActiveConfigFile}</span></em><hr /></div>
<div class="bNav">
<input type="submit" value="{field.Update}" /><br />
<br />
<input type="checkbox" name="orphaned" id="orphaned" class="auto" /><label class="s" for="orphaned">{checkbox_delete_orphaned_values}</label>
<input type="checkbox" name="orphaned" id="orphaned" class="auto" /><label class="s" for="orphaned">{checkbox.Delete orphaned values}</label>
</div>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions assets/default/_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{nav} </td>
<td class="right big"><div class="s">
<hr />
{info_some_useful_links}
{Some useful links}
<hr />
{label.System information}<br />
<ul class="pieul">
Expand Down Expand Up @@ -33,7 +33,7 @@
</li>
</ul>
<hr />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='{HomeCopyData}';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response_failed}')}" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='{HomeCopyData}';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response.Failed}')}" />
</div></td>
</tr>
</table>
2 changes: 1 addition & 1 deletion assets/default/_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>{label.Please log in to continue}</h1>{state_msg}
<input id="password" name="password" type="password" placeholder="{field.Password}" onkeyup="javascript:document.getElementById('pgrad').style=RGBW(this.value)" autocomplete="current-password" /><br />
<div id="pgrad"></div><br />
<input type="submit" value="{field.Log In}" class="auto" /><br /><br />
<div class="txtRd"><small>{tip_fe_cookie_warning}<noscript><br />{warning.JavaScript required}</noscript></small></div><br /><br />
<div class="txtRd"><small>{warning.Cookies}<noscript><br />{warning.JavaScript required}</noscript></small></div><br /><br />
<div class="icon48x48"></div>
</form>
<script type="text/javascript">function RGBHA(x){for(var y=268435455,z=0;z<x.length;z++)y=x.charCodeAt(z)+((y<<5)-y);for(y=(y>>24&255).toString(16)+(y>>16&255).toString(16)+(y>>8&255).toString(16)+(y&255).toString(16);6>y.length;)y+='0';return y.substr(0,6)};function RGBW(i){var i=RGBHA(i);return 'background:linear-gradient(90deg,#'+i+',#'+(i.split("").reverse().join(""))+')'};document.getElementById('pgrad').style=RGBW(document.getElementById('password').value)</script>
Expand Down
2 changes: 1 addition & 1 deletion assets/default/_siginfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</td>
</tr>
</table>
<span class="s placeholder_loading">{state_loading}</span>
<span class="s placeholder_loading">{label.Loading_}</span>
{InfoRows}
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion assets/default/_statistics.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<table><tr><td class="spanner">
<form id="statForm" action="?phpmussel-page=statistics" method="POST">
<input name="ClearStats" type="hidden" value="1" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='Web\n{label.Scan events} – {Web-Events}\n{label.Uploads scanned} – {Web-Scanned}\n{label.Uploads blocked} – {Web-Blocked}\n{label.Uploads quarantined} – {Web-Quarantined}\n\nCLI\n{label.Scan events} – {CLI-Events}\n{label.Objects scanned} – {CLI-Scanned}\n{label.Objects flagged} – {CLI-Flagged}\n\nAPI\n{label.Scan events} – {API-Events}\n{label.Objects scanned} – {API-Scanned}\n{label.Objects flagged} – {API-Flagged}\n\n{label.Other}\n{label.Start date} – {Other-Since}\n{label.Active signature files} – {Other-Active}\n';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response_failed}')}" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='Web\n{label.Scan events} – {Web-Events}\n{label.Uploads scanned} – {Web-Scanned}\n{label.Uploads blocked} – {Web-Blocked}\n{label.Uploads quarantined} – {Web-Quarantined}\n\nCLI\n{label.Scan events} – {CLI-Events}\n{label.Objects scanned} – {CLI-Scanned}\n{label.Objects flagged} – {CLI-Flagged}\n\nAPI\n{label.Scan events} – {API-Events}\n{label.Objects scanned} – {API-Scanned}\n{label.Objects flagged} – {API-Flagged}\n\n{label.Other}\n{label.Start date} – {Other-Since}\n{label.Active signature files} – {Other-Active}\n';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response.Failed}')}" />
<input type="button" value="{field.Clear all}" class="auto" onclick="{Confirm-ClearAll}" />
</form>
</td></tr></table>
Expand Down
4 changes: 2 additions & 2 deletions assets/fullmoon/_accounts.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<tr>
<form action="?phpmussel-page=accounts" method="POST"><input name="phpmussel-form-target" type="hidden" value="accounts" /><input name="do" type="hidden" value="create-account" />
<td class="h1 big"><div class="s"><input name="username" type="text" placeholder="{field.Username}" autocomplete="username" /></td>
<td class="h1 big"><div class="s"><select name="permissions"><option value="1">{state_complete_access}</option><option value="2">{state_logs_access_only}</option></select></div></td>
<td class="h1 big"><div class="s"><select name="permissions"><option value="1">{label.Complete access}</option><option value="2">{label.Logs access only}</option></select></div></td>
<td class="h1 big"><div class="s"><input name="password" type="password" placeholder="{field.Password}" autocomplete="new-password" /></div></td>
<td class="h1f extend">
<div class="s big"><div class="s"><input type="submit" value="{field.Create new account}" /></div></div>
<div class="s mob"><div class="s">
<input name="username_mob" type="text" placeholder="{field.Username}" autocomplete="username" /><br />
<select name="permissions_mob"><option value="1">{state_complete_access}</option><option value="2">{state_logs_access_only}</option></select><br />
<select name="permissions_mob"><option value="1">{label.Complete access}</option><option value="2">{label.Logs access only}</option></select><br />
<input name="password_mob" type="password" placeholder="{field.Password}" autocomplete="new-password" /><br />
<input type="submit" value="{field.Create new account}" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions assets/fullmoon/_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<tr><td class="ng2"><div class="s">{link.Configuration}</div></td></tr>
<tr>
<td class="ng1">
<div class="s">{tip_see_the_documentation}<hr /><em>{label.Active configuration file} <span class="txtRd">{ActiveConfigFile}</span></em><hr /></div>
<div class="s">{tip.See the documentation}<hr /><em>{label.Active configuration file} <span class="txtRd">{ActiveConfigFile}</span></em><hr /></div>
<div class="bNav">
<input type="submit" value="{field.Update}" /><br />
<br />
<input type="checkbox" name="orphaned" id="orphaned" class="auto" /><label class="s" for="orphaned">{checkbox_delete_orphaned_values}</label>
<input type="checkbox" name="orphaned" id="orphaned" class="auto" /><label class="s" for="orphaned">{checkbox.Delete orphaned values}</label>
</div>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions assets/fullmoon/_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<hr />
<div class="s">
<hr />
{info_some_useful_links}
{Some useful links}
<hr />
{label.System information}<br />
<ul class="pieul">
Expand Down Expand Up @@ -31,5 +31,5 @@
</li>
</ul>
<hr />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='{HomeCopyData}';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response_failed}')}" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='{HomeCopyData}';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response.Failed}')}" />
</div>
2 changes: 1 addition & 1 deletion assets/fullmoon/_siginfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
</td>
</tr>
</table>
<span class="s placeholder_loading">{state_loading}</span>
<span class="s placeholder_loading">{label.Loading_}</span>
{InfoRows}
<script type="text/javascript">function setInfoCat(){x=document.getElementById('infoCatID').value,null!==window.yCat&&hide(window.yCat),show(x),window.yCat=x}window.yCat='placeholder_loading',setInfoCat();</script>
2 changes: 1 addition & 1 deletion assets/fullmoon/_statistics.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<table><tr><td class="spanner">
<form id="statForm" action="?phpmussel-page=statistics" method="POST">
<input name="ClearStats" type="hidden" value="1" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='Web\n{label.Scan events} – {Web-Events}\n{label.Uploads scanned} – {Web-Scanned}\n{label.Uploads blocked} – {Web-Blocked}\n{label.Uploads quarantined} – {Web-Quarantined}\n\nCLI\n{label.Scan events} – {CLI-Events}\n{label.Objects scanned} – {CLI-Scanned}\n{label.Objects flagged} – {CLI-Flagged}\n\nAPI\n{label.Scan events} – {API-Events}\n{label.Objects scanned} – {API-Scanned}\n{label.Objects flagged} – {API-Flagged}\n\n{label.Other}\n{label.Start date} – {Other-Since}\n{label.Active signature files} – {Other-Active}\n';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response_failed}')}" />
<input type="button" value="{link.Copy to clipboard}" class="auto" onclick="javascript:if(navigator.clipboard){var doCopy='Web\n{label.Scan events} – {Web-Events}\n{label.Uploads scanned} – {Web-Scanned}\n{label.Uploads blocked} – {Web-Blocked}\n{label.Uploads quarantined} – {Web-Quarantined}\n\nCLI\n{label.Scan events} – {CLI-Events}\n{label.Objects scanned} – {CLI-Scanned}\n{label.Objects flagged} – {CLI-Flagged}\n\nAPI\n{label.Scan events} – {API-Events}\n{label.Objects scanned} – {API-Scanned}\n{label.Objects flagged} – {API-Flagged}\n\n{label.Other}\n{label.Start date} – {Other-Since}\n{label.Active signature files} – {Other-Active}\n';navigator.clipboard.writeText(doCopy);alert(doCopy)}else{alert('{response.Failed}')}" />
<input type="button" value="{field.Clear all}" class="auto" onclick="{Confirm-ClearAll}" />
</form>
</td></tr></table>
Expand Down
12 changes: 9 additions & 3 deletions l10n/af.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# License: GNU/GPLv2
# @see LICENSE.txt
#
# This file: Afrikaans language data (last modified: 2023.09.18).
# This file: Afrikaans language data (last modified: 2023.09.19).
#
# Regarding translations: My native language is English. Because this is a free
# and open-source hobby project which generates zero income, and translatable
Expand All @@ -24,7 +24,8 @@
# requests, ask. I can help.
##/

checkbox_delete_orphaned_values: "Vee onverbonde waardes uit."
checkbox:
Delete orphaned values: "Vee onverbonde waardes uit."
config:
core: "Algemene konfigurasie (enige kernkonfigurasie wat nie aan ander kategorieë behoort nie)."
core_default_timeout: "Verstek uitteltyd om vir eksterne versoeke te gebruik? Verstek = 12 sekondes."
Expand Down Expand Up @@ -171,9 +172,14 @@ field:
vt_suspicion_level_heuristic_only: "Skandeer slegs lêers met heuristiese gewig.\nLêers sal slegs geskandeer word as hulle 'n mate van heuristiese gewig dra. Heuristiese gewig kan verkry word uit handtekeninge wat bedoel is om algemene vingerafdrukke te vang wat verband hou met potensiële infeksie wat nie noodwendig infeksie waarborg nie. Die opsoek kan in sulke gevalle dien om 'n tweede mening te gee vir resultate wat vermoede regverdig, maar andersins geen sekerheid verskaf nie."
hints_pdo_dsn:
Gereelde vrae.: "<em><a href="https://github.com/phpMussel/Docs/blob/master/readme.en.md\#user-content-HOW_TO_USE_PDO" hreflang="en-AU">Wat is 'n "PDO DSN"? Hoe kan ek PDO met phpMussel gebruik?</a></em>"
title_login: "Inteken"
hints_xlists:
Hoe dit werk.: "As jou stelsel toelaat dat slegs spesifieke tipes lêers opgelaai word, of as jou stelsel sekere tipes lêers uitdruklik weier, deur daardie lêertipes in witlyste, swartlyste, en gryslyste te spesifiseer, kan die spoed waarteen skandering uitgevoer word verhoog deur die skrip toe te laat om die skandering van daardie lêertipes te vermy. Formaat is CSV (kommageskeide waardes)."
Logiese volgorde van verwerking.: "As die lêertipe op die gewitlys is, moenie die lêer skandeer en blokkeer nie, en moenie die lêer teen die swartlys of die gryslys kontroleer nie. As die lêertipe op die swartlys is, moenie die lêer skandeer nie, maar blokkeer dit in elk geval, en moenie die lêer teen die gryslys kontroleer nie. As die gryslys leeg is of as die gryslys nie leeg is nie en die lêertipe op die gryslys is, skandeer die lêer soos normaalweg en bepaal of dit geblokkeer moet word op grond van die resultate van die skandering, maar as die gryslys nie leeg is nie en die lêertipe nie op die gryslys is nie, hanteer die lêer asof op die swartlys, dus nie skandeer dit nie maar blokkeer dit in elk geval."
warning:
Cookies: "Kennis neem: phpMussel gebruik 'n koekie vir die verifikasie van aanmeldings. Deur aan te meld, gee jy jou toestemming dat 'n koekie deur jou blaaier geskep en gestoor word."
JavaScript required: "Waarskuwing: Sommige front-end funksionaliteit vereis JavaScript. Om te verseker dat die hele front-end optree soos verwag, word dit aanbeveel om JavaScript te aktiveer."
Maintenance mode is enabled: "Waarskuwing: Onderhoudsmodus is geaktiveer!"
No signature files are active: "Waarskuwing: Geen handtekeninglêers is aktief nie!"
Proceeding will log out all users: "Waarskuwing: As jy voortgaan, sal alle gebruikers uitteken."
This account is not using a valid password: "Waarskuwing: Hierdie rekening gebruik nie 'n geldige wagwoord nie!"
Using the default password: "Waarskuwing: Verstekwagwoord word gebruik!"
Loading

0 comments on commit a292dc8

Please sign in to comment.