Browse Source

Merge pull request #3391 from 3d-gussner/MK3_3.11.0_python3

Change to python3
3d-gussner 3 years ago
parent
commit
1940cdca30
3 changed files with 12 additions and 10 deletions
  1. 5 5
      Firmware/Configuration.h
  2. 3 2
      lang/lang-build.sh
  3. 4 3
      lang/lang-import.sh

+ 5 - 5
Firmware/Configuration.h

@@ -17,17 +17,17 @@ extern PGM_P sPrinterName;
 
 // Firmware version
 #define FW_MAJOR 3
-#define FW_MINOR 10
-#define FW_REVISION 1
-//#define FW_FLAVOR RC      //uncomment if DEBUG, DEVEL, APLHA, BETA or RC
-//#define FW_FLAVERSION 1     //uncomment if FW_FLAVOR is defined and versioning is needed.
+#define FW_MINOR 11
+#define FW_REVISION 0
+#define FW_FLAVOR RC      //uncomment if DEBUG, DEVEL, APLHA, BETA or RC
+#define FW_FLAVERSION 1     //uncomment if FW_FLAVOR is defined and versioning is needed.
 #ifndef FW_FLAVOR
     #define FW_VERSION STR(FW_MAJOR) "." STR(FW_MINOR) "." STR(FW_REVISION)
 #else
     #define FW_VERSION STR(FW_MAJOR) "." STR(FW_MINOR) "." STR(FW_REVISION) "-" STR(FW_FLAVOR) "" STR(FW_FLAVERSION)
 #endif
 
-#define FW_COMMIT_NR 4697
+#define FW_COMMIT_NR 4842
 
 // FW_VERSION_UNKNOWN means this is an unofficial build.
 // The firmware should only be checked into github with this symbol.

+ 3 - 2
lang/lang-build.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Version 1.0.2 Build 27
+# Version 1.0.2 Build 28
 #
 # lang-build.sh - multi-language support script
 #  generate lang_xx.bin (language binary file)
@@ -57,6 +57,7 @@
 # 25 Jan. 2022, 3d-gussner, Fix check
 #                           Update documentation
 # 10 Feb. 2022, 3d-gussner, Use SRCDIR for compatibility with build server
+# 11 Feb. 2022, 3d-gussner, Change to python3
 #############################################################################
 #
 # Config:
@@ -160,7 +161,7 @@ generate_binary()
  rm -f lang_$1.dat
  LNG=$1
  #check lang dictionary
- ./lang-check.py $1 #--no-warning
+ python3 lang-check.py $1 #--no-warning
  #create lang_xx.tmp - different processing for 'en' language
  if [[ "$1" = "en" || ! -f "lang_en.max" ]]; then
   #remove comments and empty lines

+ 4 - 3
lang/lang-import.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Version 1.0.1 Build 24
+# Version 1.0.1 Build 25
 #
 # lang-import.sh - multi-language support script
 #  for importing translated xx.po
@@ -33,6 +33,7 @@
 # 28 Jan. 2022, 3d-gussner, Run lang-check and output `xx-output.txt` file to review
 #                           translations
 #                           new argruments `--information` `--import-check`
+# 11 Feb. 2022, 3d-gussner, Change to python3
 #############################################################################
 # Config:
 if [ -z "$CONFIG_OK" ]; then eval "$(cat config.sh)"; fi
@@ -396,8 +397,8 @@ sed -i 's/""/"\\x00"/g' lang_en_$LNG.txt
 #remove CR
 sed -i "s/\r//g" lang_en_$LNG.txt
 #check new lang
-./../../lang-check.py $LNG --warn-empty
-./../../lang-check.py $LNG --information >$LNG-output.txt
+python3 ../../lang-check.py $LNG --warn-empty
+python3 ../../lang-check.py $LNG --information >$LNG-output.txt
 echo >&2
 echo "$(tput setaf 2)lang-import.sh finished$(tput sgr 0)">&2