added swedish (#732)

This commit is contained in:
Kevin Papst
2019-04-28 23:55:27 +02:00
committed by GitHub
parent e49bd05ae6
commit 1b0b45649d
20 changed files with 1461 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ But it adapts the same ideas and a clean & simple UI for your time-tracking expe
By now it is in an almost-stable development phase, usable and with most advanced features from Kimai 1.
You can even [import your data](https://www.kimai.org/documentation/migration-v1.html) and start testing and using it today.
Kimai is a [multi-language application](https://www.kimai.org/documentation/translations.html) and already translated to english, german, italian, french, spanish, russian, arabic, hungarian and portuguese.
Kimai is a [multi-language application](https://www.kimai.org/documentation/translations.html) and already translated to english, german, italian, french, spanish, russian, arabic, hungarian, portuguese (brazilian) and swedish.
### Requirements

View File

@@ -188,6 +188,14 @@ kimai:
date: 'Y.m.d.'
date_time: 'm.d. H:i'
duration: '%%h:%%m h'
sv:
date_time_type: 'yyyy-MM-dd HH:mm'
date_time_picker: 'YYYY-MM-DD HH:mm'
date_type: 'yyyy-MM-dd'
date_picker: 'YYYY-MM-DD'
date: 'Y-m-d'
date_time: 'm-d H:i'
duration: '%%h:%%m tim'
# --------------------------------------------------------------------------------
# timesheet calendar configuration

View File

@@ -2,7 +2,7 @@
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en
app_locales: en|de|it|fr|es|ru|ar|hu|pt_BR
app_locales: en|de|it|fr|es|ru|ar|hu|pt_BR|sv
services:
# default configuration for services in *this* file

View File

@@ -40,6 +40,12 @@
{{ 'website'|trans({}, 'about') }}
</a>
</li>
<li>
<a href="{{ constant('App\\Constants::HOMEPAGE') }}/donate/" target="_blank">
<i class="menu-icon fab fa-paypal bg-blue"></i>
{{ 'donate'|trans({}, 'about') }}
</a>
</li>
</ul>
<hr>

View File

@@ -2,7 +2,7 @@
{% block about %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
{% block box_title %}{{ constant('App\\Constants::SOFTWARE') }} is published under{% endblock %}
{% block box_title %}{{ 'published_under'|trans({'%kimai%': constant('App\\Constants::SOFTWARE')}, 'about') }}{% endblock %}
{% block box_body %}
<pre>
{{ license }}
@@ -15,9 +15,9 @@
{% endembed %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
{% block box_title %}Special thanks ...{% endblock %}
{% block box_title %}{{ 'special_thanks'|trans({}, 'about') }}{% endblock %}
{% block box_body %}
<p>... to the authors of the following libraries, Kimai wouldn't be possible without them:</p>
<p>{{ 'library_authors'|trans({}, 'about') }}</p>
<ul>
<li>AdminLTE: <a href="https://adminlte.io" target="_blank">https://adminlte.io</a></li>
<li>Bootstrap: <a href="https://getbootstrap.com" target="_blank">https://getbootstrap.com</a></li>
@@ -32,7 +32,7 @@
<li>MomentJS: <a href="https://momentjs.com" target="_blank">https://momentjs.com</a></li>
<li>PHPOffice: <a href="https://github.com/PHPOffice" target="_blank">https://github.com/PHPOffice</a></li>
<li>Symfony: <a href="https://symfony.com" target="_blank">https://symfony.com</a></li>
<li>...</li>
<li></li>
</ul>
{% endblock %}
{% endembed %}

View File

@@ -29,7 +29,7 @@ class AboutControllerTest extends ControllerBaseTest
$this->assertAccessIsGranted($client, '/about');
$result = $client->getCrawler()->filter('ul.nav.nav-stacked li a');
$this->assertEquals(3, count($result));
$this->assertEquals(4, count($result));
$result = $client->getCrawler()->filter('div.box-body pre');
$this->assertEquals(1, count($result));

View File

@@ -26,6 +26,22 @@
<source>tab.thanks</source>
<target>Danke!</target>
</trans-unit>
<trans-unit id="donate">
<source>donate</source>
<target>Spende für die Zukunft von Kimai</target>
</trans-unit>
<trans-unit id="published_under">
<source>published_under</source>
<target>%kimai% wird veröffentlicht unter</target>
</trans-unit>
<trans-unit id="special_thanks">
<source>special_thanks</source>
<target>Besonderer Dank geht an …</target>
</trans-unit>
<trans-unit id="library_authors">
<source>library_authors</source>
<target>… die Autoren der folgenden Software-Bibliotheken, ohne Euch wäre Kimai nicht möglich 👍</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -26,6 +26,22 @@
<source>tab.thanks</source>
<target>Special thanks</target>
</trans-unit>
<trans-unit id="donate">
<source>donate</source>
<target>Donate for the future of Kimai</target>
</trans-unit>
<trans-unit id="published_under">
<source>published_under</source>
<target>%kimai% is published under</target>
</trans-unit>
<trans-unit id="special_thanks">
<source>special_thanks</source>
<target>Special thanks go to …</target>
</trans-unit>
<trans-unit id="library_authors">
<source>library_authors</source>
<target>… the authors of the following software-libraries, Kimai wouldn't be possible without you 👍</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="about.en.xliff">
<body>
<trans-unit id="about.title">
<source>about.title</source>
<target>Om Kimai</target>
</trans-unit>
<trans-unit id="about.subtitle">
<source>about.subtitle</source>
<target>Systeminformation</target>
</trans-unit>
<trans-unit id="support">
<source>support</source>
<target>Support</target>
</trans-unit>
<trans-unit id="website">
<source>website</source>
<target>Hemsida</target>
</trans-unit>
<trans-unit id="help">
<source>help</source>
<target>Dokumentation</target>
</trans-unit>
<trans-unit id="tab.thanks">
<source>tab.thanks</source>
<target state="translated">Speciellt tack</target>
</trans-unit>
<trans-unit id="donate">
<source>donate</source>
<target state="translated">Donera för framtiden för Kimai</target>
</trans-unit>
<trans-unit id="published_under">
<source>published_under</source>
<target state="translated">%kimai% är publicerad under</target>
</trans-unit>
<trans-unit id="special_thanks">
<source>special_thanks</source>
<target state="translated">Särskilt tack gå till …</target>
</trans-unit>
<trans-unit id="library_authors">
<source>library_authors</source>
<target state="translated">… författarna till följande mjukvarubibliotek, Kimai skulle inte vara möjliga utan dig 👍</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="daterangepicker.en.xliff">
<body>
<trans-unit id="daterangepicker.apply">
<source>daterangepicker.apply</source>
<target state="translated">Utför</target>
</trans-unit>
<trans-unit id="daterangepicker.cancel">
<source>daterangepicker.cancel</source>
<target state="translated">Avbryt</target>
</trans-unit>
<trans-unit id="daterangepicker.today">
<source>daterangepicker.today</source>
<target state="translated">Idag</target>
</trans-unit>
<trans-unit id="daterangepicker.yesterday">
<source>daterangepicker.yesterday</source>
<target state="translated">Igår</target>
</trans-unit>
<trans-unit id="daterangepicker.lastWeek">
<source>daterangepicker.lastWeek</source>
<target state="translated">Förra veckan</target>
</trans-unit>
<trans-unit id="daterangepicker.thisWeek">
<source>daterangepicker.thisWeek</source>
<target state="translated">Denna vecka</target>
</trans-unit>
<trans-unit id="daterangepicker.lastMonth">
<source>daterangepicker.lastMonth</source>
<target state="translated">Förra måndagen</target>
</trans-unit>
<trans-unit id="daterangepicker.thisMonth">
<source>daterangepicker.thisMonth</source>
<target state="translated">Denna Månad</target>
</trans-unit>
<trans-unit id="daterangepicker.lastYear">
<source>daterangepicker.lastYear</source>
<target state="translated">Förra året</target>
</trans-unit>
<trans-unit id="daterangepicker.thisYear">
<source>daterangepicker.thisYear</source>
<target state="translated">Detta år</target>
</trans-unit>
<trans-unit id="daterangepicker.customRange">
<source>daterangepicker.customRange</source>
<target state="translated">Anpassad tidsperiod</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="exceptions.en.xliff">
<body>
<trans-unit id="access.denied">
<source>access.denied</source>
<target state="translated">Åtkomst nekas</target>
</trans-unit>
<trans-unit id="stacktrace">
<source>stacktrace</source>
<target state="translated">Ett problem uppstod</target>
</trans-unit>
<trans-unit id="http_error.title">
<source>http_error.title</source>
<target state="translated">Fel</target>
</trans-unit>
<trans-unit id="http_error.description">
<source>http_error.description</source>
<target state="translated">Oj! Ett fel uppstod.</target>
</trans-unit>
<trans-unit id="http_error.suggestion">
<source>http_error.suggestion</source>
<target state="translated">
Ett oväntat fel inträffade, försök igen.
Du kan ha hittat en bugg, så kontakta din administratör om problemet
går inte bort efter att du försökt det igen.</target>
</trans-unit>
<trans-unit id="http_error_404.description">
<source>http_error_404.description</source>
<target state="translated">Oj! Hittade inte sidan.</target>
</trans-unit>
<trans-unit id="http_error_404.suggestion">
<source>http_error_404.suggestion</source>
<target state="translated">Vi kunde inte hitta den sida du letade efter.
Under tiden kan du återvända till din dashboard och börja om.
</target>
</trans-unit>
<trans-unit id="http_error_403.description">
<source>http_error_403.description</source>
<target state="translated">Den här sidan är begränsad.</target>
</trans-unit>
<trans-unit id="http_error_403.suggestion">
<source>http_error_403.suggestion</source>
<target state="translated">
Tyvärr, men du har inte tillräckligt med behörigheter för att se den här sidan.
Snälla prata med din administratör om du tycker att det här är ett fel.</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="flashmessages.en.xliff">
<body>
<trans-unit id="timesheet.stop.success">
<source>timesheet.stop.success</source>
<target state="translated">Tidsredovisningen har stoppats</target>
</trans-unit>
<trans-unit id="timesheet.stop.error">
<source>timesheet.stop.error</source>
<target state="translated">Tidsredovisningen kunde inte stoppas: %reason%</target>
</trans-unit>
<trans-unit id="timesheet.start.success">
<source>timesheet.start.success</source>
<target state="translated">Tidsredovisningen har startat</target>
</trans-unit>
<trans-unit id="timesheet.start.error">
<source>timesheet.start.error</source>
<target state="translated">Tidinspelning kunde inte startas: %reason%</target>
</trans-unit>
<trans-unit id="timesheet.start.exceeded_limit">
<source>timesheet.start.exceeded_limit</source>
<target state="translated">Gränsen för aktiva tidsposter har uppnåtts, var god stoppa minst en körtidsmätning först.</target>
</trans-unit>
<trans-unit id="action.update.success">
<source>action.update.success</source>
<target state="translated">Ändringarna har sparats</target>
</trans-unit>
<trans-unit id="action.update.error">
<source>action.update.error</source>
<target state="translated">Ändringar kunde inte sparas: %reason%</target>
</trans-unit>
<trans-unit id="action.delete.success">
<source>action.delete.success</source>
<target state="translated">Denna post är borttagen</target>
</trans-unit>
<trans-unit id="action.delete.error">
<source>action.delete.error</source>
<target state="translated">Post kunde inte raderas: %reason%</target>
</trans-unit>
<trans-unit id="invoice.first_template">
<source>invoice.first_template</source>
<target state="translated">Du måste skapa din första fakturamall innan du kan fortsätta</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="invoice-calculator.en.xliff">
<body>
<trans-unit id="label.invoice_calculator">
<source>label.invoice_calculator</source>
<target state="translated">Kalkylerad summa</target>
</trans-unit>
<trans-unit id="default">
<source>default</source>
<target state="translated">Ingångsbaserad - en mätning per gång per gång (standard)</target>
</trans-unit>
<trans-unit id="short">
<source>short</source>
<target state="translated">Timmar tillagd - endast en post</target>
</trans-unit>
<trans-unit id="user">
<source>user</source>
<target state="translated">Användargrupp - En post per användare</target>
</trans-unit>
<trans-unit id="activity">
<source>activity</source>
<target state="translated">Aktivitet grupperad - en post per aktivitet</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="invoice-numbergenerator.en.xliff">
<body>
<trans-unit id="label.invoice_number_generator">
<source>label.invoice_number_generator</source>
<target state="translated">Fakturanummergenerator</target>
</trans-unit>
<trans-unit id="default">
<source>default</source>
<target state="translated">Datum (standard)</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="invoice-renderer.en.xliff">
<body>
<trans-unit id="label.invoice_renderer">
<source>label.invoice_renderer</source>
<target state="translated">Fakturadokument</target>
</trans-unit>
<trans-unit id="default">
<source>default</source>
<target state="translated">Faktura (standard)</target>
</trans-unit>
<trans-unit id="timesheet">
<source>timesheet</source>
<target state="translated">Tidrapport</target>
</trans-unit>
<trans-unit id="freelancer">
<source>freelancer</source>
<target state="translated">Frilansare</target>
</trans-unit>
<trans-unit id="open-spreadsheet">
<source>open-spreadsheet</source>
<target state="translated">Beräkna kalkylbladet</target>
</trans-unit>
<trans-unit id="spreadsheet">
<source>spreadsheet</source>
<target>Excel</target>
</trans-unit>
<trans-unit id="export">
<source>export</source>
<target state="translated">Exportera data</target>
</trans-unit>
<trans-unit id="company">
<source>company</source>
<target state="translated">Företagsfaktura</target>
</trans-unit>
</body>
</file>
</xliff>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="pagerfanta.en.xliff">
<body>
<trans-unit id="previous">
<source>previous</source>
<target state="translated">Föregående</target>
</trans-unit>
<trans-unit id="next">
<source>next</source>
<target state="translated">Nästa</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file date="2018-10-29T10:00:00Z" source-language="en" target-language="sv" datatype="plaintext" original="none">
<body>
<trans-unit id="plugins.title">
<source>plugins.title</source>
<target state="translated">Pluginer</target>
</trans-unit>
<trans-unit id="plugins.subtitle">
<source>plugins.subtitle</source>
<target state="translated">Du kan förbättra funktionaliteten hos Kimai med plugins</target>
</trans-unit>
<trans-unit id="label.version">
<source>label.version</source>
<target>Version</target>
</trans-unit>
<trans-unit id="label.required_version">
<source>label.required_version</source>
<target state="translated">Kompatibel med</target>
</trans-unit>
<trans-unit id="plugin.none_installed">
<source>plugin.none_installed</source>
<target state="translated">Du har inget plugin installerat än.</target>
</trans-unit>
<trans-unit id="plugin.marketplace">
<source>plugin.marketplace</source>
<target state="translated">Kimai marknadsplats</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="system-configuration.en.xliff">
<body>
<trans-unit id="title">
<source>title</source>
<target state="translated">Inställningar</target>
</trans-unit>
<trans-unit id="subtitle">
<source>subtitle</source>
<target state="translated">Ändra globala konfigurationer av din tidsredovisning</target>
</trans-unit>
<trans-unit id="timesheet">
<source>timesheet</source>
<target state="translated">Tidrapport</target>
</trans-unit>
<trans-unit id="form_customer">
<source>form_customer</source>
<target state="translated">Skapa kund - standardvärden</target>
</trans-unit>
<trans-unit id="label.timesheet.markdown_content">
<source>label.timesheet.markdown_content</source>
<target state="translated">Tillåt Markdown i tidskriftsbeskrivningarna</target>
</trans-unit>
<trans-unit id="label.timesheet.mode">
<source>label.timesheet.mode</source>
<target state="translated">Tidsredovisningsläge</target>
</trans-unit>
<trans-unit id="label.timesheet.mode_default">
<source>label.timesheet.mode_default</source>
<target state="translated">Standard: acceptera start- och slutdatum</target>
</trans-unit>
<trans-unit id="label.timesheet.mode_duration_only">
<source>label.timesheet.mode_duration_only</source>
<target state="translated">Endast varaktighet: ersätter slutdatumsfältet med en ingång för varaktighet</target>
</trans-unit>
<trans-unit id="label.timesheet.rules.allow_future_times">
<source>label.timesheet.rules.allow_future_times</source>
<target state="translated">Tillåt tidsposter i framtiden</target>
</trans-unit>
<trans-unit id="label.timesheet.active_entries.hard_limit">
<source>label.timesheet.active_entries.hard_limit</source>
<target state="translated">Tillåtet antal samtidiga körtidsposter</target>
</trans-unit>
<trans-unit id="label.timesheet.active_entries.soft_limit">
<source>label.timesheet.active_entries.soft_limit</source>
<target state="translated">Antal körtidsposter från vilka en varning visas</target>
</trans-unit>
</body>
</file>
</xliff>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="sv" datatype="plaintext" original="validators.en.xliff">
<body>
<trans-unit id="This value is not a valid role.">
<source>This value is not a valid role.</source>
<target state="translated">Detta värde är inte en giltig roll.</target>
</trans-unit>
<trans-unit id="End date must not be earlier then start date.">
<source>End date must not be earlier then start date.</source>
<target state="translated">Slutdatumet får inte vara tidigare än startdatumet.</target>
</trans-unit>
<trans-unit id="The begin date cannot be in the future.">
<source>The begin date cannot be in the future.</source>
<target state="translated">Slutdatumet får inte vara tidigare än startdatumet.</target>
</trans-unit>
</body>
</file>
</xliff>