pakfire.cgi: Add new translations

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
This commit is contained in:
Leo-Andres Hofmann
2021-12-02 16:39:54 +01:00
committed by Peter Müller
parent db9ee62e0a
commit 524bbe326d
3 changed files with 6 additions and 2 deletions

View File

@@ -127,10 +127,10 @@ my $extraHead = <<END
// Translations
pakfire.i18n.load({
'working': '$Lang::tr{'pakfire working'}',
'finished': 'Pakfire is finished! Please check the log output.',
'finished': '$Lang::tr{'pakfire finished'}',
'since': '$Lang::tr{'since'} ', //(space is intentional)
'link_return': '<a href="$ENV{'SCRIPT_NAME'}">Return to Pakfire</a>',
'link_return': '<a href="$ENV{'SCRIPT_NAME'}">$Lang::tr{'pakfire return'}</a>',
'link_reboot': '<a href="/cgi-bin/shutdown.cgi">$Lang::tr{'needreboot'}</a>'
});