-
Notifications
You must be signed in to change notification settings - Fork 4
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
138 refactored #153
Open
DanielNowak98
wants to merge
8
commits into
master
Choose a base branch
from
138-refactored
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
138 refactored #153
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
126448d
changed Language linkings on main.cpp
DanielNowak98 eb3b969
added some languages changes on main.cpp and languages.hpp. Rebase br…
DanielNowak98 e58f600
added language changes in languages.hpp
DanielNowak98 57c9a2e
merged and fetched7
DanielNowak98 bb24c39
Merge branch 'master' into 138-refactored
DanielNowak98 98c9164
added changes
DanielNowak98 d19e186
added changes
DanielNowak98 00de75b
added language linkings
DanielNowak98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ enum class Key { | |
Continue, | ||
Continue_del, | ||
Devices_found, | ||
Device_List, | ||
Usr_curnt_wave, | ||
Wv_from_file, | ||
WvForms_warning, | ||
|
@@ -75,11 +76,11 @@ enum class Key { | |
Enter_mileage, | ||
Battery_measure, | ||
Attitude, | ||
German, | ||
x_axis_label, | ||
y_axis_label, | ||
Record_Data, | ||
Ready, | ||
FontSize, | ||
SettingsText, | ||
Saving | ||
German | ||
}; | ||
|
||
inline const std::map<Key, const char *> englishLan{ | ||
|
@@ -120,7 +121,8 @@ inline const std::map<Key, const char *> englishLan{ | |
{Key::Stop, "Stop"}, | ||
{Key::Continue, "Continue"}, | ||
{Key::Continue_del, "Continue Deletion?"}, | ||
{Key::Devices_found, "Devices found:"}, | ||
{Key::Devices_found, "Devices found"}, | ||
{Key::Device_List, "Devices List"}, | ||
{Key::Usr_curnt_wave, "User Current Waveform"}, | ||
{Key::Wv_from_file, "Waveform From File"}, | ||
{Key::WvForms_warning, "Waveforms Warning! "}, | ||
|
@@ -153,14 +155,14 @@ inline const std::map<Key, const char *> englishLan{ | |
{Key::Enter_mileage, "Enter Mileage"}, | ||
{Key::Battery_measure, "Battery measurement"}, | ||
{Key::Attitude, "Attitude"}, | ||
{Key::German, "German"}, | ||
{Key::x_axis_label, "x [Seconds]"}, | ||
{Key::y_axis_label, "y [Volts]"}, | ||
{Key::Record_Data, "Recording the data"}, | ||
{Key::Ready, "Ready"}, | ||
{Key::FontSize, "Fontsize"}, | ||
{Key::SettingsText, "Set your personal settings for the software"}, | ||
{Key::Saving, "saving ..."}}; | ||
|
||
{Key::German, "German"}}; | ||
|
||
inline const std::map<Key, const char *> germanLan{ | ||
{Key::Device_List, "Geräteliste"}, | ||
{Key::Known_Car, "Fahrzeugauswahl"}, | ||
{Key::New_Car, "Neues Fahrzeug"}, | ||
{Key::Additional_Information, "Weiterführende Information"}, | ||
|
@@ -199,10 +201,10 @@ inline const std::map<Key, const char *> germanLan{ | |
{Key::Stop, "Stoppen"}, | ||
{Key::Continue, "Weiter"}, | ||
{Key::Continue_del, "Mit dem Löschen fortfahren?"}, | ||
{Key::Devices_found, "Geräte gefunden:"}, | ||
{Key::Usr_curnt_wave, "Aktuelle Wellenform des Benutzers"}, | ||
{Key::Wv_from_file, "Wellenform aus Datei"}, | ||
{Key::WvForms_warning, "Warnung!"}, | ||
{Key::Devices_found, "Geräte"}, | ||
{Key::Usr_curnt_wave, "Aktuelle Wellenform Des Benutzers"}, | ||
{Key::Wv_from_file, "Wellenform Aus Datei"}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you change this? |
||
{Key::WvForms_warning, "Warnung vor Wellenformen!"}, | ||
{Key::No_wave_made, "Es wurden keine Wellenformen erstellt!"}, | ||
{Key::Wrong_file_warning, "Warnung vor falscher Datei!"}, | ||
{Key::Wrong_file_type, "Falscher Dateityp! Versuchen Sie es erneut!"}, | ||
|
@@ -232,11 +234,10 @@ inline const std::map<Key, const char *> germanLan{ | |
{Key::Enter_mileage, "Geben Sie den Kilometerstand ein"}, | ||
{Key::Battery_measure, "Batteriemessung"}, | ||
{Key::Attitude, "Einstellung"}, | ||
{Key::German, "Deutsch"}, | ||
{Key::Ready, "Bereit"}, | ||
{Key::FontSize, "Schriftgröße"}, | ||
{Key::SettingsText, "Legen sie hier ihre persönlichen Einstellungen fest"}, | ||
{Key::Saving, "speichern ..."}}; | ||
{Key::x_axis_label, "x [Sekunden]"}, | ||
{Key::y_axis_label, "y [Volt]"}, | ||
{Key::Record_Data, "Datenaufnahme"}, | ||
{Key::Ready, "bereit"}}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All messages in both English and German languages start with a capital letter, hence "Bereit" seems more appropriate. |
||
|
||
inline auto appLanguage = englishLan; | ||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a colon at the end to indicate a list.