Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add local_ja #71

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/makemissing.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
echo run getstrings first
for i in da de es fr it nb pl pt ru zh zh-tw
for i in da de es fr it nb pl pt ru zh zh-tw ja
do
python3 findmissing.py ../src/com/lushprojects/circuitjs1/public/locale_$i.txt > missing_$i.txt
done
92 changes: 92 additions & 0 deletions lang/missing_ja.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
" (mod "
"# of Decimal Digits (long format)"
"# of Decimal Digits (short format)"
"&nbsp;</div>Subcircuits"
"(saved)"
"7-Segment Decoder"
"<Strong>RUN</Strong>&nbsp;/&nbsp;Stop"
"A - 1"
"A - B - 1"
"A \p A"
"A \p B"
"A and B"
"A or B"
"A xor B"
"Add "
"Add Adder"
"Add Counter w/ Load"
"Add Data Input"
"Add Delay Buffer"
"Add LM317"
"Add Line"
"Add TL431"
"Add Wattmeter"
"Adder"
"Antenna (amplified)"
"Blank Pin"
"Blank on 1111"
"Both Sides"
"Cannot load: That file is too large!"
"Cmd-"
"Coil Style"
"Ctrl-"
"Current Color"
"CustomCompositeElm:"
"Draw Circle"
"Edit Pin Layout"
"Edit Subcircuit Pin Layout"
"File too large!"
"Fixed Precision"
"Flip X/Y"
"IEC Symbol"
"Invert Inputs"
"Invert Reset"
"Invert Set/Reset"
"Inverted Output"
"JK\q00: No Change"
"JK\q01: Reset"
"JK\q10: Set"
"JK\q11: Toggle"
"LM324, fixed"
"LM324, old"
"Labeled Node"
"Load Contents From File"
"Load File"
"Load Model Circuit"
"Negative Edge Triggered"
"Neutral Color"
"New Slider"
"Off Current (A)"
"Output Pulldown Resistance (ohms)"
"Output at F (M\q0)"
"Output at F (M\q1)"
"Parse error in expression"
"Play Once"
"Repeat"
"S3S2S1S0"
"Sample Length (s)"
"Save Across Sessions"
"Scale Factor"
"Selection Color"
"Sequence"
"Show Box"
"Show Extended Info"
"Show Label"
"Show Pin Numbers"
"Side 1"
"Side 2"
"Strobe Pin"
"Switching Time (s)"
"Threshold (V)"
"Use Circle Symbol"
"Use New Model"
"buffer"
"circuit-"
"coil I"
"coil Vd"
"data input"
"infinite transistor current"
"old model"
"sequence generator"
"unexpected end of input"
"wattmeter"
2 changes: 2 additions & 0 deletions src/com/lushprojects/circuitjs1/client/EditOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public EditInfo getEditInfo(int n) {
ei.choice.add("\u0420\u0443\u0441\u0441\u043a\u0438\u0439"); // Russian
ei.choice.add("\u4e2d\u6587 (\u4e2d\u56fd\u5927\u9646)"); // Chinese
ei.choice.add("\u4e2d\u6587 (\u53f0\u6e7e)"); // Chinese (tw)
ei.choice.add("日本語"); // Chinese (tw)
return ei;
}

Expand Down Expand Up @@ -113,6 +114,7 @@ public void setEditValue(int n, EditInfo ei) {
case 11: langString = "ru"; break;
case 12: langString = "zh"; break;
case 13: langString = "zh-tw"; break;
case 14: langString = "ja"; break;
}
if (langString == null)
return;
Expand Down
Loading