Merge pull request #1 from werkraum-media/task/localization

Task/localization
This commit is contained in:
Dirk Koritnik 2020-11-30 13:12:22 +01:00 committed by GitHub
commit f63d08528d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 216 additions and 25 deletions

View file

@ -0,0 +1,108 @@
<?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="de" datatype="plaintext" original="messages" date="2020-10-19T17:30:54Z" product-name="calendar">
<header/>
<body>
<trans-unit id="browse.month.previous">
<source>Previous month</source>
<target>Voheriger Monat</target>
</trans-unit>
<trans-unit id="browse.month.next">
<source>Next month</source>
<target>Nächster Monat</target>
</trans-unit>
<trans-unit id="browse.week.previous">
<source>Previous week</source>
<target>Voherige Woche</target>
</trans-unit>
<trans-unit id="browse.week.next">
<source>Next week</source>
<target>Nächste Woche</target>
</trans-unit>
<trans-unit id="browse.day.previous">
<source>Previous day</source>
<target>Voheriger Tag</target>
</trans-unit>
<trans-unit id="browse.day.next">
<source>Next day</source>
<target>Nächster Tag</target>
</trans-unit>
<trans-unit id="view.month">
<source>Monthly</source>
<target>Monat</target>
</trans-unit>
<trans-unit id="view.week">
<source>Weekly</source>
<target>Woche</target>
</trans-unit>
<trans-unit id="view.day">
<source>Day</source>
<target>Tagesansicht</target>
</trans-unit>
<trans-unit id="view.calendar_week">
<source>Calender week</source>
<target>Kalenderwoche</target>
</trans-unit>
<trans-unit id="view.calendar_week.shorthand">
<source>CW</source>
<target>KW</target>
</trans-unit>
<trans-unit id="weekday.monday">
<source>Monday</source>
<target>Montag</target>
</trans-unit>
<trans-unit id="weekday.tuesday">
<source>Tuesday</source>
<target>Dienstag</target>
</trans-unit>
<trans-unit id="weekday.wednesday">
<source>Wednesday</source>
<target>Mittwoch</target>
</trans-unit>
<trans-unit id="weekday.thursday">
<source>Thursday</source>
<target>Donnerstag</target>
</trans-unit>
<trans-unit id="weekday.friday">
<source>Friday</source>
<target>Freitag</target>
</trans-unit>
<trans-unit id="weekday.saturday">
<source>Saturday</source>
<target>Samstag</target>
</trans-unit>
<trans-unit id="weekday.sunday">
<source>Sunday</source>
<target>Sonntag</target>
</trans-unit>
<trans-unit id="weekday.monday.shorthand">
<source>Mon</source>
<target>Mo</target>
</trans-unit>
<trans-unit id="weekday.tuesday.shorthand">
<source>Tue</source>
<target>Di</target>
</trans-unit>
<trans-unit id="weekday.wednesday.shorthand">
<source>Wed</source>
<target>Mi</target>
</trans-unit>
<trans-unit id="weekday.thursday.shorthand">
<source>Thu</source>
<target>Do</target>
</trans-unit>
<trans-unit id="weekday.friday.shorthand">
<source>Fri</source>
<target>Fr</target>
</trans-unit>
<trans-unit id="weekday.saturday.shorthand">
<source>Sat</source>
<target>Sa</target>
</trans-unit>
<trans-unit id="weekday.sunday.shorthand">
<source>Sun</source>
<target>So</target>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="messages" date="2020-10-19T17:30:54Z" product-name="calendar">
<header/>
<body>
<trans-unit id="browse.month.previous">
<source>Previous month</source>
</trans-unit>
<trans-unit id="browse.month.next">
<source>Next month</source>
</trans-unit>
<trans-unit id="browse.week.previous">
<source>Previous week</source>
</trans-unit>
<trans-unit id="browse.week.next">
<source>Next week</source>
</trans-unit>
<trans-unit id="browse.day.previous">
<source>Previous day</source>
</trans-unit>
<trans-unit id="browse.day.next">
<source>Next day</source>
</trans-unit>
<trans-unit id="view.calendar_week">
<source>Calender week</source>
</trans-unit>
<trans-unit id="view.calendar_week.shorthand">
<source>CW</source>
</trans-unit>
<trans-unit id="view.month">
<source>Monthly</source>
</trans-unit>
<trans-unit id="view.week">
<source>Weekly</source>
</trans-unit>
<trans-unit id="view.day">
<source>Day</source>
</trans-unit>
<trans-unit id="weekday.monday">
<source>Monday</source>
</trans-unit>
<trans-unit id="weekday.tuesday">
<source>Tuesday</source>
</trans-unit>
<trans-unit id="weekday.wednesday">
<source>Wednesday</source>
</trans-unit>
<trans-unit id="weekday.thursday">
<source>Thursday</source>
</trans-unit>
<trans-unit id="weekday.friday">
<source>Friday</source>
</trans-unit>
<trans-unit id="weekday.saturday">
<source>Saturday</source>
</trans-unit>
<trans-unit id="weekday.sunday">
<source>Sunday</source>
</trans-unit>
<trans-unit id="weekday.monday.shorthand">
<source>Mon</source>
</trans-unit>
<trans-unit id="weekday.tuesday.shorthand">
<source>Tue</source>
</trans-unit>
<trans-unit id="weekday.wednesday.shorthand">
<source>Wed</source>
</trans-unit>
<trans-unit id="weekday.thursday.shorthand">
<source>Thu</source>
</trans-unit>
<trans-unit id="weekday.friday.shorthand">
<source>Fri</source>
</trans-unit>
<trans-unit id="weekday.saturday.shorthand">
<source>Sat</source>
</trans-unit>
<trans-unit id="weekday.sunday.shorthand">
<source>Sun</source>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -3,23 +3,23 @@
<h2>{month.dateTimeInstance -> f:format.date(format: '%B %Y')}</h2>
<f:link.action action="month" controller="Frontend\Calendar" arguments="{month: month.previousMonth}">
Prev Month
<f:link.action class="calendar browse month previous" action="month" controller="Frontend\Calendar" arguments="{month: month.previousMonth}">
{f:translate(key: 'browse.month.previous', extensionName: 'calendar')}
</f:link.action>
<f:link.action action="month" controller="Frontend\Calendar" arguments="{month: month.nextMonth}">
Next Month
<f:link.action class="calendar browse month next" action="month" controller="Frontend\Calendar" arguments="{month: month.nextMonth}">
{f:translate(key: 'browse.month.next', extensionName: 'calendar')}
</f:link.action>
<table>
<table class="calender monthly">
<tr>
<th>KW</th>
<th>Mo</th>
<th>Di</th>
<th>Mi</th>
<th>Do</th>
<th>Fr</th>
<th>Sa</th>
<th>So</th>
<th>{f:translate(key: 'calendar_week.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.monday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.tuesday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.wednesday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.thursday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.friday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.saturday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.sunday.shorthand', extensionName: 'calendar')}</th>
</tr>
<f:for each="{month.weeks}" as="week">
<tr class="{f:if(condition: week.active, then: 'active', else: 'inactive')}">

View file

@ -3,22 +3,22 @@
<h2>{week.dateTimeInstance -> f:format.date(format: '%V %Y')}</h2>
<f:link.action action="week" controller="Frontend\Calendar" arguments="{week: week.previousWeek}">
Prev Week
<f:link.action class="calendar browse week previous" action="week" controller="Frontend\Calendar" arguments="{week: week.previousWeek}">
{f:translate(key: 'browse.week.previous', extensionName: 'calendar')}
</f:link.action>
<f:link.action action="week" controller="Frontend\Calendar" arguments="{week: week.nextWeek}">
Next Week
<f:link.action class="calendar browse month next" action="week" controller="Frontend\Calendar" arguments="{week: week.nextWeek}">
{f:translate(key: 'browse.month.next', extensionName: 'calendar')}
</f:link.action>
<table>
<table class="calendar week">
<tr>
<th>Mo</th>
<th>Di</th>
<th>Mi</th>
<th>Do</th>
<th>Fr</th>
<th>Sa</th>
<th>So</th>
<th>{f:translate(key: 'weekday.monday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.tuesday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.wednesday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.thursday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.friday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.saturday.shorthand', extensionName: 'calendar')}</th>
<th>{f:translate(key: 'weekday.sunday.shorthand', extensionName: 'calendar')}</th>
</tr>
<tr>
<f:for each="{week.days}" as="day">