Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate skill files to german #19

Merged
merged 12 commits into from
Dec 23, 2021
2 changes: 2 additions & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
<item>@string/pref_language_system</item>
<item>English</item>
<item>Italiano</item>
<item>Deutsch</item>
</string-array>
<string-array name="pref_language_entry_values">
<item />
<item>en</item>
<item>it</item>
<item>de</item>
</string-array>

<string-array name="pref_input_method_entries">
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/sentences/de/calculator.dslf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
calculator: medium
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the calculator will not be available since dicio-numbers has not been translated to German yet. This is not blocking, though, as German can be made available in the app even if the calculator won't be enabled.

berechne|(was ist|ergibt) (die|das|der)? .calculation.;

calculator_operators: low
[addition] plus|summe|summiere|addiere|(füge hinzu);
[subtraction] minus|subtrahiere|(ziehe von?);
[multiplication] mal|(prudukt von)|(multipliziere mit?);
[division] dividiere|(quotient von?)|(geteilt durch?)|durch;
[power] hoch;
[square_root] die wurzel von?;
4 changes: 4 additions & 0 deletions app/src/main/sentences/de/lyrics.dslf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
lyrics: high
(zeige|finde heraus|lade|finde)? mir? den|die|das? lyrics|text|liedtext|lied (von|für (das Lied|den Song)?)? .song.;
.song. lyrics|text|songtext|liedtext;
Wie heißt (das Lied)|(der Song) (dass|das|der so geht)|(mit dem Text) .song.;
2 changes: 2 additions & 0 deletions app/src/main/sentences/de/open.dslf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
open: medium
starte|zeige|öffne|oeffne ((die|den|das)|(die app|anwendung))? .what. (app|anwendung)?;
4 changes: 4 additions & 0 deletions app/src/main/sentences/de/search.dslf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
search: low
finde heraus? (was|wer)? .what. (ist|war)?;
suche nach? .what.;
schlage .what. nach;
10 changes: 10 additions & 0 deletions app/src/main/sentences/de/weather.dslf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
weather: high
regnet|schneit|hagelt es draußen?;
wie ist das wetter draußen;
ist es kalt|warm|eisig|nebelig|regnerisch|verschneit|sonnig draußen?;
regnet|schneit|hagelt es (in .where.)?;
ist es (in .where.)? kalt|warm|eisig|nebelig|regnerisch|verschneit|sonnig (in .where.)?;
wie ist das wetter (in .where.)?;
scheint die sonne (in .where.)?;