Change [um] to [μm]

Including lang-im/export.sh to convert HD44780 to UTF-8 and vice versa
This commit is contained in:
3d-gussner 2022-02-08 10:18:27 +01:00
parent 881db2e747
commit d80cef5443
19 changed files with 121 additions and 112 deletions

View File

@ -3075,10 +3075,10 @@ void lcd_adjust_bed_reset(void)
//! @code{.unparsed}
//! |01234567890123456789|
//! |Settings: | MSG_SETTINGS
//! |Left side [um]: | MSG_BED_CORRECTION_LEFT
//! |Right side[um]: | MSG_BED_CORRECTION_RIGHT
//! |Front side[um]: | MSG_BED_CORRECTION_FRONT
//! |Rear side [um]: | MSG_BED_CORRECTION_REAR
//! |Left side [μm]: | MSG_BED_CORRECTION_LEFT
//! |Right side[μm]: | MSG_BED_CORRECTION_RIGHT
//! |Front side[μm]: | MSG_BED_CORRECTION_FRONT
//! |Rear side [μm]: | MSG_BED_CORRECTION_REAR
//! |Reset | MSG_BED_CORRECTION_RESET
//! ----------------------
//! @endcode
@ -3111,10 +3111,10 @@ void lcd_adjust_bed(void)
eeprom_update_byte((unsigned char*)EEPROM_BED_CORRECTION_VALID, 1);
);
MENU_ITEM_BACK_P(_T(MSG_SETTINGS));
MENU_ITEM_EDIT_int3_P(_i("Left side [um]"), &_md->left, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_LEFT c=14
MENU_ITEM_EDIT_int3_P(_i("Right side[um]"), &_md->right, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_RIGHT c=14
MENU_ITEM_EDIT_int3_P(_i("Front side[um]"), &_md->front, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_FRONT c=14
MENU_ITEM_EDIT_int3_P(_i("Rear side [um]"), &_md->rear, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_REAR c=14
MENU_ITEM_EDIT_int3_P(_i("Left side [\xe4m]"), &_md->left, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_LEFT c=14
MENU_ITEM_EDIT_int3_P(_i("Right side[\xe4m]"), &_md->right, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_RIGHT c=14
MENU_ITEM_EDIT_int3_P(_i("Front side[\xe4m]"), &_md->front, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_FRONT c=14
MENU_ITEM_EDIT_int3_P(_i("Rear side [\xe4m]"), &_md->rear, -BED_ADJUSTMENT_UM_MAX, BED_ADJUSTMENT_UM_MAX);////MSG_BED_CORRECTION_REAR c=14
MENU_ITEM_FUNCTION_P(_T(MSG_RESET), lcd_adjust_bed_reset);////MSG_RESET c=14
MENU_END();
}

View File

@ -202,6 +202,11 @@ if [ "$LNG" = "de" ]; then
sed -i 's/\\xe2/\xc3\x9f/g' $OUTFILE
fi
#replace HD44780 A00 'μ' to UTF-8 'μ'
#replace 'A00 ROMμ' with ' μ'
sed -i 's/\\xe4/\xce\xbc/g' $OUTFILE
echo >&2
echo "$(tput setaf 2)lang-export.sh finished$(tput sgr 0)">&2
exit 0

View File

@ -350,6 +350,10 @@ fi
#if [ "$LNG" = "pl" ]; then
#fi
#replace UTF-8 'μ' to HD44780 A00 'μ'
#replace 'μ' with 'A00 ROM μ'
sed -i 's/\xce\xbc/\\xe4/g' $LNG'_filtered.po'
#check for nonasci characters except HD44780 ROM A00 'äöüß'
if grep --color='auto' -P -n '[^\x00-\x7F]' $LNG'_filtered.po' >nonascii.txt; then
exit

View File

@ -287,7 +287,7 @@
"Front print fan?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -383,7 +383,7 @@
"Left"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -656,7 +656,7 @@
"Please load filament first."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -683,7 +683,7 @@
"Resuming print"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Predni tiskovy vent?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Vpredu [um]"
"Front side[\xe4m]"
"Vpredu [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Vlevo"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Vlevo [um]"
"Left side [\xe4m]"
"Vlevo [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Prosim nejdriv zavedte filament"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Vzadu [um]"
"Rear side [\xe4m]"
"Vzadu [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Obnoveni tisku"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Vpravo [um]"
"Right side[\xe4m]"
"Vpravo [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,7 +383,7 @@
"\x00"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
"\x00"
#MSG_SELFTEST_FANS c=20
@ -511,7 +511,7 @@
"\x00"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
"\x00"
#MSG_LIN_CORRECTION c=18
@ -875,7 +875,7 @@
"\x00"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
"\x00"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
@ -911,7 +911,7 @@
"\x00"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
"\x00"
#MSG_RPI_PORT c=13

View File

@ -383,8 +383,8 @@
"Druckl\xf5fter?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Vorne [um]"
"Front side[\xe4m]"
"Vorne [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Links"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Links [um]"
"Left side [\xe4m]"
"Links [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Bitte laden Sie zuerst das Filament."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Hinten [um]"
"Rear side [\xe4m]"
"Hinten [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Druck fortgesetzt"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Rechts [um]"
"Right side[\xe4m]"
"Rechts [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Vent. frontal?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Frontal [um]"
"Front side[\xe4m]"
"Frontal [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Izquierda"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Izquierda [um]"
"Left side [\xe4m]"
"Izquierda [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Por favor, cargar primero el filamento."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Trasera [um]"
"Rear side [\xe4m]"
"Trasera [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Continuan. impresion"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Derecha [um]"
"Right side[\xe4m]"
"Derecha [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Ventilo impr avant?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Avant [um]"
"Front side[\xe4m]"
"Avant [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Gauche"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Gauche [um]"
"Left side [\xe4m]"
"Gauche [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Veuillez d'abord charger un filament."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Arriere [um]"
"Rear side [\xe4m]"
"Arriere [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Reprise de l'impr."
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Droite [um]"
"Right side[\xe4m]"
"Droite [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Prednji print vent?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Prednj str[um]"
"Front side[\xe4m]"
"Prednj str[\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Lijevo"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Lijeva str[um]"
"Left side [\xe4m]"
"Lijeva str[\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Molimo prvo ubacite filament."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Zad. str.[um]"
"Rear side [\xe4m]"
"Zad. str.[\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Nastavak printa"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Desna str.[um]"
"Right side[\xe4m]"
"Desna str.[\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Elso targyhuto vent?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Elulso old[um]"
"Front side[\xe4m]"
"Elulso old[\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Bal"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Bal [um]"
"Left side [\xe4m]"
"Bal [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Kerlek eloszor toltsd be a filamentet."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Hatso old.[um]"
"Rear side [\xe4m]"
"Hatso old.[\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Nyomtatas folytatasa"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Jobb old.[um]"
"Right side[\xe4m]"
"Jobb old.[\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Ventola frontale?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Fronte [um]"
"Front side[\xe4m]"
"Fronte [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Sinistra"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Sinistra [um]"
"Left side [\xe4m]"
"Sinistra [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Per favore prima carica il filamento."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Retro [um]"
"Rear side [\xe4m]"
"Retro [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Riprendi stampa"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Destra [um]"
"Right side[\xe4m]"
"Destra [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,7 +383,7 @@
"\x00"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
"\x00"
#MSG_SELFTEST_FANS c=20
@ -511,7 +511,7 @@
"\x00"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
"\x00"
#MSG_LIN_CORRECTION c=18
@ -875,7 +875,7 @@
"\x00"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
"\x00"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
@ -911,7 +911,7 @@
"\x00"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
"\x00"
#MSG_RPI_PORT c=13

View File

@ -383,7 +383,7 @@
"\x00"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
"\x00"
#MSG_SELFTEST_FANS c=20
@ -511,7 +511,7 @@
"\x00"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
"\x00"
#MSG_LIN_CORRECTION c=18
@ -875,7 +875,7 @@
"\x00"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
"\x00"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
@ -911,7 +911,7 @@
"\x00"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
"\x00"
#MSG_RPI_PORT c=13

View File

@ -383,8 +383,8 @@
"Voorzijde fan?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Voorkant [um]"
"Front side[\xe4m]"
"Voorkant [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Links"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Linkerkant[um]"
"Left side [\xe4m]"
"Linkerkant[\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Laad a.u.b. eerst filament."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Achterkant[um]"
"Rear side [\xe4m]"
"Achterkant[\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Hervatten print"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Recht.kant[um]"
"Right side[\xe4m]"
"Recht.kant[\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Przedni went. druku?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Przod [um]"
"Front side[\xe4m]"
"Przod [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Lewa"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Lewo [um]"
"Left side [\xe4m]"
"Lewo [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Najpierw zaladuj filament."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Tyl [um]"
"Rear side [\xe4m]"
"Tyl [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Wznawianie druku"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Prawo [um]"
"Right side[\xe4m]"
"Prawo [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,8 +383,8 @@
"Vent. print?"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Fata [um]"
"Front side[\xe4m]"
"Fata [\xe4m]"
#MSG_SELFTEST_FANS c=20
"Front/left fans"
@ -511,8 +511,8 @@
"Stanga"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Stanga [um]"
"Left side [\xe4m]"
"Stanga [\xe4m]"
#MSG_LIN_CORRECTION c=18
"Lin. correction"
@ -875,8 +875,8 @@
"Va rugam incarcati filamentul mai intai."
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Spate [um]"
"Rear side [\xe4m]"
"Spate [\xe4m]"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
"Please unload the filament first, then repeat this action."
@ -911,8 +911,8 @@
"Reluare print..."
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Dreapta [um]"
"Right side[\xe4m]"
"Dreapta [\xe4m]"
#MSG_RPI_PORT c=13
"RPi port"

View File

@ -383,7 +383,7 @@
"\x00"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
"\x00"
#MSG_SELFTEST_FANS c=20
@ -511,7 +511,7 @@
"\x00"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
"\x00"
#MSG_LIN_CORRECTION c=18
@ -875,7 +875,7 @@
"\x00"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
"\x00"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
@ -911,7 +911,7 @@
"\x00"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
"\x00"
#MSG_RPI_PORT c=13

View File

@ -383,7 +383,7 @@
"\x00"
#MSG_BED_CORRECTION_FRONT c=14
"Front side[um]"
"Front side[\xe4m]"
"\x00"
#MSG_SELFTEST_FANS c=20
@ -511,7 +511,7 @@
"\x00"
#MSG_BED_CORRECTION_LEFT c=14
"Left side [um]"
"Left side [\xe4m]"
"\x00"
#MSG_LIN_CORRECTION c=18
@ -875,7 +875,7 @@
"\x00"
#MSG_BED_CORRECTION_REAR c=14
"Rear side [um]"
"Rear side [\xe4m]"
"\x00"
#MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
@ -911,7 +911,7 @@
"\x00"
#MSG_BED_CORRECTION_RIGHT c=14
"Right side[um]"
"Right side[\xe4m]"
"\x00"
#MSG_RPI_PORT c=13