* test add lint as separate action
* nicer logging
* only detect changes in dart files
* fix printV warnings being displayed when editing printV

---------

Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
This commit is contained in:
malik1004x
2026-07-14 12:50:19 +02:00
committed by GitHub
co-authored by Czarek Nakamoto
parent 031a117f2e
commit 01c977e82b
37 changed files with 587 additions and 199 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ void appendStringToArbFile(String fileName, String name, String text, {bool forc
final arbObj = readArbFile(file);
if (arbObj.containsKey(name) && !force) {
printV("String $name already exists in $fileName!");
print("String $name already exists in $fileName!");
return;
}
@@ -38,7 +38,7 @@ Future<String> getTranslation(String text, String lang) async {
try {
translation = (await translator.translate(text, from: defaultLang, to: lang)).text;
} catch (e) {
printV("$lang, $text, $e");
print("$lang, $text, $e");
}
placeholder.forEach((index, value) {
final translatedPlaceholder = regExp.allMatches(translation).toList()[index];