Skip to content

Commit

Permalink
Translation of CSV blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AGrillenberger committed Jul 17, 2019
1 parent d2c26cf commit 6118d02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions snap/SnapTwitter/st2-blocks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@
<block-definition s="📂table %&apos;list&apos; → CSV, filename %&apos;f&apos;" type="command" category="data">
<header></header>
<code></code>
<translations></translations>
<translations>de:📂Tabelle _ → CSV, Dateiname _&#xD;</translations>
<inputs>
<input type="%s"></input>
<input type="%s"></input>
Expand Down Expand Up @@ -1248,7 +1248,7 @@
<block-definition s="📂CSV from URL %&apos;url&apos; → table, delimiter %&apos;del&apos;" type="reporter" category="data">
<header></header>
<code></code>
<translations></translations>
<translations>de:📂CSV von URL _ → Tabelle, Trennzeichen _&#xD;</translations>
<inputs>
<input type="%s"></input>
<input type="%s">;<options>;&#xD;,</options></input>
Expand All @@ -1272,7 +1272,7 @@
<block-definition s="📂uploaded file" type="reporter" category="sensing">
<header></header>
<code></code>
<translations></translations>
<translations>de:📂hochgeladene Datei&#xD;</translations>
<inputs></inputs>
<script>
<block s="doReport">
Expand All @@ -1291,7 +1291,7 @@
<block-definition s="📂CSV from upload → table, delimiter %&apos;del&apos;" type="reporter" category="data">
<header></header>
<code></code>
<translations></translations>
<translations>de:📂CSV aus Upload → Tabelle, Trennzeichen _&#xD;</translations>
<inputs>
<input type="%s">;<options>;&#xD;,</options></input>
</inputs>
Expand Down
2 changes: 2 additions & 0 deletions snap/locale/lang-de.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ SnapTranslator.dict.de = {
'Karte',
'Chart':
'Diagramm',
'Data':
'Daten',

// editor:
'draggable':
Expand Down
2 changes: 1 addition & 1 deletion snap/src/objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ SpriteMorph.prototype.blockColor = {
twitter: new Color(2, 167, 196),
map: new Color(168, 110, 40),
chart: new Color(153,150,3),
data: new Color(150,0,0),
data: new Color(200,50,50),
internal: new Color(0,0,0),
};

Expand Down

0 comments on commit 6118d02

Please sign in to comment.