You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[breaking] legacy: refactoring of the old i18n.Logger (part 2) (#1625)
* legacy: refactored ErrorfWithLogger function
Now is no longer needed, this function was basically made for
arduino-builder to allow transfering the error to the IDE, BTW the
correct fix must be made inside arduino-builder (to actually let him
push the error in the logger).
* Renamed legacy ctx fields ExecStdout/ExecStderr to Stdout/Stderr
* Removed empty Lint() function
* Removed dependency on i18n.Logger
* Removed no more used i18n.Logger \o/ \o/
* Simplified i18n.Init function
* legacy: builder default output on os.Stdout/os.Stderr
* legacy: updated integration tests for slightly different output of builder
* Use positional parameter for most translated string
This will make easier to transfer translations from the Arduino IDE 1.8
* Added note to UPGRADING.md
* Updated UPGRADING.md
* Removed extra blank line in library detection recap
* Update docs/UPGRADING.md
Co-authored-by: per1234 <accounts@perglass.com>
require.Equal(t, "Do you want to remove %[1]v?\nIf you do so you won't be able to use %[1]v any more.", FromJavaToGoSyntax("Do you want to remove {0}?\nIf you do so you won't be able to use {0} any more."))
33
+
require.Equal(t, "A file named \"%[1]v\" already exists in \"%[2]v\"", FromJavaToGoSyntax("A file named \"{0}\" already exists in \"{1}\""))
34
+
require.Equal(t, "Board %[1]v:%[2]v:%[3]v doesn't define a 'build.board' preference. Auto-set to: %[4]v", FromJavaToGoSyntax("Board {0}:{1}:{2} doesn''t define a ''build.board'' preference. Auto-set to: {3}"))
0 commit comments