Commit Graph

29 Commits

Author SHA1 Message Date
3d-gussner
ffc7a5344a Typo fix 2020-10-02 18:56:50 +02:00
3d-gussner
2dbce5c0cb Add UNKNOWN as agrument option 2020-10-02 18:54:18 +02:00
3d-gussner
a6a4a0b71d Bug fix if using argument EN_ONLY.
Thank to @leptun for pointing out.
2020-10-01 16:49:38 +02:00
3d-gussner
41da8862b4
MK3 3.9.0 Italian fix (#2663)
* Fix rm ... output issue
Remove files only if they exist

* Fix Italian missing translations
There have been only 362 instead of 365
Sorry for that, normally I double check this.

* Added `not_tran` and `not_used` files
This makes it easier to find missing or obsolate translations

* Revert "Added `not_tran` and `not_used` files"

This reverts commit a1b53dde663dc20a105fd3fa817e612ef999cb97.

These should be ignored

* Ignore ALL `not_tran`and `not_used` files
2020-05-13 20:51:13 +02:00
3d-gussner
deff8dcfde
MK3 3 9 0 missing translations (#2646)
* Add and update missing translations
- updated in Firmware/ files the missing `c=xx` column and `r=yy` rows.
- added missing translations to lang/lang_en*.txt

Everyone is developing and adding messages to serial and especially to LCD  PLEASE add `//// c=xx` or `//// c=xx r=yy` comments.
Preparing translations files without that information is a pain in the ... and takes way more time for somebody else
to review to code as it would take you.

* No need to have `MSG_abcde` again in comments `////` in `messages.c`

* German translation

* Missed a space

* Use the same format as somewhere else

* French translation.
I am not a native French speaking person, so please excuse my mistakes I may have done.

* Spanish translation.
I am not a native Spanish speaking person, so please excuse my mistakes I may have done.

* CZ translation

* Fix typos

* Another fix
It is
Dimmwert and not Dim Wert

* Fix issues reported by `lang-check.py`

* Add "difficult" messages containing `%`

* Updated MSG and German translation

* removed a translation as it breaks the language selection

* No need to wait until any-key is pressed

* No need to wait any-key is pressed

* Fixed two LF issues

* Updated PO files
ready to be send to translators

* Add missing italian translations

* Improve some existing italian translations

* More italian fixes

* More italian fixes

* Add exceptions in editorconfig for po files to avoid recoding

* Fix typo
Thanks @DRracer for pointing out

* Italian translation by @wavexx

* Update po/new/*.po files

* Update after merging MK3 branch

* Update French translation and some c=xx comments

Big thanks to @awenelo @carlin57 for helping with the french translations and their comments.

* Update po files after French translation

* Fixed most `lang-check.py` reported translation errors for Czech and German.
Two Czech have to be reviewed as these are too long.
One German is correct as it is shown in c=20 r=2 but is 1 char longer than this to split the message.
One German translation seams to be to long but have to review the actual max length

* Fix `lang-check.py` Spanish translation errors
There have been quite lot TOO long messages,

Can't imagine that nobody every complained about that.

* Fix `lang-check.py` Italian translations errors

* Update not_tran and not_used files after fixing several translations

* Some more error fixes and update of `po` files

* Polish translation

* Czech updated

* Fix typo

* no need to translate `\x00` if it is the same

* Polish: Runouts->Koniec

* Polish: Runouts->Konce f ... hopefully the last change

* Added MK2.5/s auto power mode to eeprom doxygen

* Final updates.

- Compiled all versions with multi-languages
- Compiled all versions with EN_ONLY
- updated all /lang/po/Firmware*.* files

* Add crlf attributes for po files

As done for editorconfig, this similarly forces git to handle
po files consistently in DOS format.

* Further improvent of IT translations

* Updated translation
Added cleanup to PF-build.sh

* remove lang/not_tran* and lang/not_used mistakenly added into the PR

Co-authored-by: DRracer <drracer@seznam.cz>
Co-authored-by: Yuri D'Elia <wavexx@thregr.org>
Co-authored-by: D.R.racer <drracer@drracer.eu>
2020-05-12 22:23:40 +02:00
3d-gussner
943ea988f9 Adding copy of not_tran.txt and not_used.txt
to make it easier to find not translated and unused messages.
This will hopfully improve the translation process.
2020-05-06 10:54:16 +02:00
3d-gussner
ad4e9482a0 Accecpt all RCx as RC versions
Thanks to @deliopoulos
2020-05-03 14:19:38 +02:00
3d-gussner
8289fcf243
Added RC3 detection in PF-build.sh
As we we got a RC3 version I have updated also `PF-build.sh` to detect it correctly.
2020-04-28 13:39:06 +02:00
3d-gussner
46c06f7eee Updated it to use Arduino_Boards v1.0.3
and linked everything to prusa3d repositories
2019-12-17 14:05:39 +01:00
3d-gussner
28b66bc909
Update to prepare for new prusa3d/PF-build-env
Fixed a bug in Arduino user preferences
2019-12-15 17:27:15 +01:00
unknown
3ce631052d Set PF-build.sh to use v1.0.2 Arduino_Boards 2019-11-29 22:35:07 +01:00
3d-gussner
2af43667c8 Changed folder and check file names...
to have seperated build enviroments depening on Arduino IDE versions and board-versions.

Successfully tested with:
- Arduino IDE 1.8.5 and board version 1.0.1
- Arduino IDE 1.8.5 and board version 1.0.2
  - These two above generate identical hex files

- Arduino IDE 1.8.7 and board version 1.0.2
- Arduino IDE 1.8.8 and board version 1.0.2
- Arduino IDE 1.8.9 and board version 1.0.2
  - These three above generate identical hex files
  - Compared to the 1.8.5 hex files the code uses less resources (Multi language/EN_ONLY):
    ```
    Sketch uses 240082 bytes (94%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6002 bytes of dynamic memory.

    Sketch uses 222344 bytes (87%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6019 bytes of dynamic memory.
    ```
    vs.
    ```
    Sketch uses 241526 bytes (95%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6046 bytes of dynamic memory.

    Sketch uses 223828 bytes (88%) of program storage space. Maximum is 253952 bytes.
    Global variables use 6065 bytes of dynamic memory.
    ```

Failed tests:
- Arduino IDE 1.8.6 and board version 1.0.2
- Arduino IDE 1.8.10 and board version 1.0.2
2019-10-17 14:05:51 +02:00
3d-gussner
28edd5a80b Prepare PF-build.sh for Prusa Arduino_Boards V1.0.2
As I am planning to add new Prusa Arduino_Boards definition version 1.0.2 which contains few changes which interfere withthe existing PF-build.sh using Arduino_Boards v1.0.1,
i had to add an additional variable.

I have tested PF-build.sh with Arduino_Boards v1.0.1 and v1.0.2

It creates identical firmware hex files, if I manage it to run in the same minute.
If one of the runs is off by a minute compared to the other there is just one line in the hex code different,
which is showing the compiling date, time and firmware version.
2019-09-23 19:22:45 +02:00
3d-gussner
5799b0b8ee
Added comment 2019-07-26 10:35:11 +02:00
3d-gussner
302355b0f3
Download JSON file from Prusa3d repository
As the PR https://github.com/prusa3d/Arduino_Boards/pull/1 is merged it makes sense to switch also in PF-build.sh to prusa3d Arduino_Boards repository.
2019-07-26 10:32:14 +02:00
Marek Kühn
df00bc9bb5 Linux 32-bit recognition fixed 2019-07-24 13:14:59 +02:00
3d-gussner
396621c12d Changed Folders and Finding OS version
- Changed Build-env path to "PF-build-dl" as requested in PR https://github.com/prusa3d/Prusa-Firmware/pull/2028
- Changed Hex-files folder to PF-build-hex as requested in PR
- Added Finding OS version routine so supporting new OS should get easier
2019-07-24 00:10:32 +02:00
3d-gussner
1e0a1a45de Typo 2019-07-22 18:02:45 +02:00
3d-gussner
6bf019293e Changed BOARD_URL to DRracers respository...
after he pulled my PR https://github.com/DRracer/Arduino_Boards/pull/1
2019-07-22 17:26:50 +02:00
3d-gussner
2d505b78a5 Added few things to prevent an unstable ...
build environment using Arduino IDE GUI
2019-07-22 15:49:15 +02:00
3d-gussner
acb761a0aa Typo fixes 2019-07-18 07:17:35 +02:00
3d-gussner
25b9193ce0 PF-build for v1.0.6
What has changed:
- It downloads Arduino IDE 1.8.5 just once. Good for future build enviroment versions
- Uses Prusa Arduino_Boards. At this moment it download my 3d-gussner fork/branch/release. Pull request is made to DRracers his fork ... and finally to Prusa repository
- Minimized PF-build-env to changed files only. At this moment it only \hardware\tools\avr\avr\lib\ldscripts\avr6.xn

Old but updated:
Arduino IDE is portable and this build environment can be used with GUI.
Important preferences are set during istallation.
One thing users need to do is to go to Boardsmanager and search for Prusa and use EINSy board.
2019-07-17 13:51:34 +02:00
Marek Bel
719af3293e Enable compiler warnings in community build script. 2019-05-14 18:50:05 +02:00
Andrew Luebke
a6f10625c5 Found another mistake 2019-04-05 15:44:52 -07:00
Andrew Luebke
99d6c74999 Fixed spelling errors in PF-build.sh 2019-04-05 14:53:33 -07:00
3d-gussner
3b78e61b68 Fix flash size check 2019-03-13 22:32:02 +01:00
Marek Bel
900ee0c5ef Update build environment to fix maximum flash size check. 2019-03-13 19:18:44 +01:00
3d-gussner
3726936b41 Added arguments to run PF-build.sh without user input
maybe an otion to use travis
2019-02-16 08:04:45 +01:00
3d-gussner
a608b0d26e Fix travis fail 2019-02-16 06:05:43 +01:00