Update UI for SD log period settings#3058
Conversation
|
Please ping all translators |
how best to do this? |
|
I am not at home right now, maybe @HThuren could you please ping all of lang maintainers? Thank you |
I ping them. |
|
Hi translators,
Maybe you want to translate "Period" in your language file, please. |
@HThuren they don't have the word. It's new with this PR |
|
Translate - |
|
Wouldn't be "interval" a better choice than period? |
New define ? @mha1 what do you think ? |
|
Oxford dictionary definition of interval: a pause or break in activity. Oxford dictionary definition of period: |
|
I think you decide, translate wanted for |
|
@HThuren Thanks for your support. How do you want to do this? Wait for the merge and then have individual PR's? Post translations here and me doing further commits? |
When this only are one define, I think the simplest way are to have them here from the translators, and you merge in own branch. The way with PR in your fork/branch are - i think - too much in this case. |
|
Hi translators, (maybe there where som confusion) @ParkerEde / @TheIsotopes DE Maybe you want to translate "Period" in your language file, please. #define TR_PERIOD "Period" |
|
Why dont we make both defines, and the discussion will be which one to choose by programmer. |
|
Sounds good... the unused one now will probably get used in the future anyway. |
|
DK translation |
|
@pfeerick We really should use frequency in Hz but we would end up with kinda small values :-). https://www.mathsisfun.com/algebra/amplitude-period-frequency-phase-shift.html I'm ok with whatever you choose. |
@HThuren is it ok to start with a lower case letter? |
arhg, no both must have capital first letter. |
|
PL |
|
IT Italian translation #define TR_PERIOD "Periodo" |
|
DE |
|
I am very sure the German word for period is Periode. Studyflix: |
|
imo Floskel / Phrase: Just think of the women. ;-) @ParkerEde What's your opinion? |
…iles deleted redundant defines
- minimum log interval 0.1s - maximum log interval 25.5s - default log interval 1.0s TX12_Sim and X9D_Sim tested ok
dd3d768 to
8664308
Compare
|
@philmoz SF page looks great. Thanks for the great collaboration to Y'all |
|
Hi @mha1, after - as agreed - compiled all language DA EN DE CZ SE IT CN TW PL JP, all compile the radio part, but TW. |
|
you mean tw is broken? |
right, |
|
Thanks, I'll fix it. |
|
@HThuren I updated tw.h. Please try again. |
I do it now |
|
@HThuren Awesome, thank you very much for going through all languages. I think we covered all bases now. |
|
@mha1 , try to update one of the files to restart the automatic check (only way I know of to do this) |
|
One minor change - to always use |
|
@pfeerick Thanks for merging this. To remove the logic to switch between STR_SWITCH and STR_SF_SWITCH entirely you can delete the line |
|
Good point, thanks... I'll do that now before I forget as I don't think it will need to change dynamically just yet 😆 |
* fixes EdgeTX#2965 Changes: - the log period range is now 0.1s to 25.5s - upon creation of a new SD Logs SF the period is initialized to 1.0s - text "Value" is changed to "Period" to indicate parameter represents the log period ToDo: - translations for "Period" if desired rebase due to EdgeTX#2992 * changed Period to Interval Added translations for DA, DE, EN, IT, PL * added defaults for TR_INTERVAL to language files * fixed problem with too many leading zeros for intervals less than 1s. before: 00.5s after: 0.5s * added CZ translations for TR_PERIOD and TR_INTERVAL changed EN TR_FUNC from "Func" to "Function" * updated TR_FUNC for CZ, DA, IT, JP, PL updated TR_PERIOD and TR_INTERVAL for JP * added TR_PERIOD, TR_INTERVAL, TR_FUNC for SE * implemented TR_SF_SWITCH and logic to change between TR_SWITCH and TR_SF_SWITCH * 212x64 radios: single source for #define TR_LSW_HEADERS in language files deleted redundant defines * changed 128x64 and 212x64 SF SD Logs to same logic as colorlcd with - minimum log interval 0.1s - maximum log interval 25.5s - default log interval 1.0s TX12_Sim and X9D_Sim tested ok * migrated functional changes due to PR EdgeTX#2992 * missed updating TW language file * fix: Always `STR_SF_SWITCH` regardless of SF Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
|
CN TW |



fixes #2965
Changes: