Skip to content

Commit

Permalink
Merge pull request #51 from fiskaltrust/user/mfa/51018-Localization
Browse files Browse the repository at this point in the history
Added Germal localization
  • Loading branch information
MoritzFamira authored Jul 13, 2022
2 parents b856b76 + 1aeb1f2 commit 3a900c5
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override void OnCreate(Bundle savedInstanceState)
if (txt == null) return;

var lines = FileLoggerHelper.GetLastLinesOfCurrentLogFile(1024);
txt.Text = string.IsNullOrEmpty(lines) ? "No log file found." : lines;
txt.Text = string.IsNullOrEmpty(lines) ? Resources.GetString(Resource.String.no_logs) : lines;
scrollView?.Post(() => scrollView.FullScroll(FocusSearchDirection.Down));
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/menuLogs"
android:showAsAction="never"
android:title="Entwickler-Logs anzeigen" />
<item
android:id="@+id/menuCopyLogs"
android:showAsAction="never"
android:title="Entwickler-Logs kopieren" />
</menu>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<resources>
<string name="app_name">fiskaltrust.AndroidLauncher.Common</string>
<string name="action_settings">Einstellungen</string>
<string name="main_title">Alles bereit!</string>
<string name="log_title">Entwickler-Logs</string>
<string name="main_content">Der Launcher für die fiskaltrust.Middleware ist auf diesem Gerät installiert und wartet auf eingehende Startanfragen.</string>
<string name="manage_space_content">Das Löschen der App-Daten wird alle auf diesem Gerät gespeicherten Fiskalisierungsdaten löschen.</string>
<string name="manage_space_warning">Diese Aktion kann nicht rückgängig gemacht werden. Fahren Sie nicht fort, es sei denn, Sie werden vom technischen Support dazu aufgefordert.</string>
<string name="manage_space_button">Daten löschen</string>
<string name="no_logs">Keine Log-Datei gefunden.</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
<string name="manage_space_content">Clearing the app data will delete all fiscalization data stored on this device.</string>
<string name="manage_space_warning">This action cannot be undone. Don\'t proceed, unless you\'re instructed to do so by technical support.</string>
<string name="manage_space_button">Clear Data</string>
<string name="no_logs">No log file found.</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,18 @@
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\values-de\strings.xml">
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\menu-de\top_menus.xml">
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">fiskaltrust.Launcher (gRPC)</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
<SubType>Designer</SubType>
</AndroidResource>
<AndroidResource Include="Resources\values-de\strings.xml">
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\drawable\" />
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<resources>
<string name="app_name">fiskaltrust.Launcher (HTTP)</string>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@
<AndroidResource Include="Resources\mipmap-xxhdpi\ic_launcher.png" />
<AndroidResource Include="Resources\mipmap-xxxhdpi\ic_launcher.png" />
<AndroidResource Include="Resources\xml\log_paths.xml" />
<AndroidResource Include="Resources\values-de\strings.xml">
<Generator>MSBuild:UpdateGeneratedFiles</Generator>
<SubType>Designer</SubType>
</AndroidResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\drawable\" />
Expand Down

0 comments on commit 3a900c5

Please sign in to comment.