Skip to content

Commit 9a6bb84

Browse files
committed
Added string to translations resources
1 parent 5fdb149 commit 9a6bb84

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Diff for: arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ public void parseIndex() throws Exception {
9393
ContributionsIndex contributionsIndex = parseIndex(indexFile);
9494
mergeContributions(contributionsIndex, indexFile);
9595
} catch (JsonProcessingException e) {
96-
System.err.println(I18n.format("Skipping contributed index file {0}, parsing error occured:", indexFile));
97-
System.err.println(e);
96+
System.err.println(I18n.format(tr("Skipping contributed index file {0}, parsing error occured:"), indexFile));
97+
System.err.println(e);
9898
}
9999
}
100100

Diff for: arduino-core/src/processing/app/i18n/Resources_en.po

+5
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,11 @@ msgstr "Sketchbook location:"
18851885
msgid "Sketchbook path not defined"
18861886
msgstr "Sketchbook path not defined"
18871887

1888+
#: ../../../../../arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java:96
1889+
#, java-format
1890+
msgid "Skipping contributed index file {0}, parsing error occured:"
1891+
msgstr ""
1892+
18881893
#: ../../../../../app/src/processing/app/Preferences.java:185
18891894
msgid "Slovak"
18901895
msgstr "Slovak"

Diff for: arduino-core/src/processing/app/i18n/Resources_en.properties

+4
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,10 @@ Sketchbook\ location\:=Sketchbook location\:
13781378
#: ../../../processing/app/BaseNoGui.java:428
13791379
Sketchbook\ path\ not\ defined=Sketchbook path not defined
13801380

1381+
#: ../../../../../arduino-core/src/cc/arduino/contributions/packages/ContributionsIndexer.java:96
1382+
#, java-format
1383+
!Skipping\ contributed\ index\ file\ {0},\ parsing\ error\ occured\:=
1384+
13811385
#: ../../../../../app/src/processing/app/Preferences.java:185
13821386
Slovak=Slovak
13831387

0 commit comments

Comments
 (0)