Skip to content

Commit 784bcac

Browse files
authored
Merge pull request #6 from seto77/i18n-11lang
i18n: 11-language UI localization (Phase 0–2)
2 parents 6f630d5 + affec19 commit 784bcac

947 files changed

Lines changed: 56592 additions & 18962 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Checkout
4747
uses: actions/checkout@v5
4848
with:
49-
fetch-depth: 0 # 260625Cl assembly_version 用に GITHUB_SHA の commit 時刻を git log で引くため全履歴が要る
49+
fetch-depth: 2 # 260625Cl GITHUB_SHA(=HEAD) の commit 時刻取得には浅い clone で足りる (CSManager 横展開: 重い履歴で fetch-depth:0 が prepare 5min timeout した教訓。旧: fetch-depth:0)
5050

5151
- name: Parse version and check if release needed
5252
id: version
@@ -516,7 +516,9 @@ jobs:
516516
}
517517
518518
# 原子的: tag 未存在時に --target のコミットへ lightweight tag を作成し release と一括で作る (orphan tag を防ぐ)
519+
# 260625Cl -R 必須: release job は checkout しない (artifact DL のみ) ため、-R が無いと gh が repo を特定できず "fatal: not a git repository" で失敗する (CSManager 本番で実証)
519520
gh release create $tag $assets `
521+
-R $env:GITHUB_REPOSITORY `
520522
--target $env:GITHUB_SHA `
521523
--title "PDIndexer $tag" `
522524
--notes-file $notesPath
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!-- 260625Cl: 多言語化 Phase1/3 (de) text-only リソース。レイアウト(Size/Location/Font)は neutral へフォールバック。結晶学/回折用語は IUCr Online Dictionary 準拠。 -->
4+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
5+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6+
<xsd:element name="root" msdata:IsDataSet="true">
7+
<xsd:complexType>
8+
<xsd:choice maxOccurs="unbounded">
9+
<xsd:element name="metadata">
10+
<xsd:complexType>
11+
<xsd:sequence>
12+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
13+
</xsd:sequence>
14+
<xsd:attribute name="name" use="required" type="xsd:string" />
15+
<xsd:attribute name="type" type="xsd:string" />
16+
<xsd:attribute name="mimetype" type="xsd:string" />
17+
<xsd:attribute ref="xml:space" />
18+
</xsd:complexType>
19+
</xsd:element>
20+
<xsd:element name="assembly">
21+
<xsd:complexType>
22+
<xsd:attribute name="alias" type="xsd:string" />
23+
<xsd:attribute name="name" type="xsd:string" />
24+
</xsd:complexType>
25+
</xsd:element>
26+
<xsd:element name="data">
27+
<xsd:complexType>
28+
<xsd:sequence>
29+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
30+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
31+
</xsd:sequence>
32+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
33+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
34+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
35+
<xsd:attribute ref="xml:space" />
36+
</xsd:complexType>
37+
</xsd:element>
38+
<xsd:element name="resheader">
39+
<xsd:complexType>
40+
<xsd:sequence>
41+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
42+
</xsd:sequence>
43+
<xsd:attribute name="name" type="xsd:string" use="required" />
44+
</xsd:complexType>
45+
</xsd:element>
46+
</xsd:choice>
47+
</xsd:complexType>
48+
</xsd:element>
49+
</xsd:schema>
50+
<resheader name="resmimetype">
51+
<value>text/microsoft-resx</value>
52+
</resheader>
53+
<resheader name="version">
54+
<value>2.0</value>
55+
</resheader>
56+
<resheader name="reader">
57+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
58+
</resheader>
59+
<resheader name="writer">
60+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
61+
</resheader>
62+
<data name="checkBox1.ToolTip" xml:space="preserve">
63+
<value>Diesen EDX-Detektor aktivieren; die
64+
Beschriftung zeigt die Detektornummer.</value>
65+
</data>
66+
<data name="numericBoxEGC0.ToolTip" xml:space="preserve">
67+
<value>Konstantes Glied a0 (eV-Offset) der Energiekalibrierung
68+
E = a0 + a1*n + a2*n^2 (n = Kanalnummer).</value>
69+
</data>
70+
<data name="numericBoxEGC1.ToolTip" xml:space="preserve">
71+
<value>Lineares Verstärkungsglied a1 (eV pro
72+
Kanal) der Energiekalibrierung.</value>
73+
</data>
74+
<data name="numericBoxEGC2.ToolTip" xml:space="preserve">
75+
<value>Quadratisches (Nichtlinearitäts-)Glied a2 (eV pro
76+
Kanal^2) der Energiekalibrierung.</value>
77+
</data>
78+
</root>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!-- 260625Cl: 多言語化 Phase1/3 (es) text-only リソース。レイアウト(Size/Location/Font)は neutral へフォールバック。結晶学/回折用語は IUCr Online Dictionary 準拠。 -->
4+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
5+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6+
<xsd:element name="root" msdata:IsDataSet="true">
7+
<xsd:complexType>
8+
<xsd:choice maxOccurs="unbounded">
9+
<xsd:element name="metadata">
10+
<xsd:complexType>
11+
<xsd:sequence>
12+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
13+
</xsd:sequence>
14+
<xsd:attribute name="name" use="required" type="xsd:string" />
15+
<xsd:attribute name="type" type="xsd:string" />
16+
<xsd:attribute name="mimetype" type="xsd:string" />
17+
<xsd:attribute ref="xml:space" />
18+
</xsd:complexType>
19+
</xsd:element>
20+
<xsd:element name="assembly">
21+
<xsd:complexType>
22+
<xsd:attribute name="alias" type="xsd:string" />
23+
<xsd:attribute name="name" type="xsd:string" />
24+
</xsd:complexType>
25+
</xsd:element>
26+
<xsd:element name="data">
27+
<xsd:complexType>
28+
<xsd:sequence>
29+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
30+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
31+
</xsd:sequence>
32+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
33+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
34+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
35+
<xsd:attribute ref="xml:space" />
36+
</xsd:complexType>
37+
</xsd:element>
38+
<xsd:element name="resheader">
39+
<xsd:complexType>
40+
<xsd:sequence>
41+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
42+
</xsd:sequence>
43+
<xsd:attribute name="name" type="xsd:string" use="required" />
44+
</xsd:complexType>
45+
</xsd:element>
46+
</xsd:choice>
47+
</xsd:complexType>
48+
</xsd:element>
49+
</xsd:schema>
50+
<resheader name="resmimetype">
51+
<value>text/microsoft-resx</value>
52+
</resheader>
53+
<resheader name="version">
54+
<value>2.0</value>
55+
</resheader>
56+
<resheader name="reader">
57+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
58+
</resheader>
59+
<resheader name="writer">
60+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
61+
</resheader>
62+
<data name="checkBox1.ToolTip" xml:space="preserve">
63+
<value>Activar este detector EDX; su
64+
etiqueta muestra el número de detector.</value>
65+
</data>
66+
<data name="numericBoxEGC0.ToolTip" xml:space="preserve">
67+
<value>Término constante a0 (desplazamiento en eV) de la calibración de energía
68+
E = a0 + a1*n + a2*n^2 (n = número de canal).</value>
69+
</data>
70+
<data name="numericBoxEGC1.ToolTip" xml:space="preserve">
71+
<value>Término lineal de ganancia a1 (eV por
72+
canal) de la calibración de energía.</value>
73+
</data>
74+
<data name="numericBoxEGC2.ToolTip" xml:space="preserve">
75+
<value>Término cuadrático (no linealidad) a2 (eV por
76+
canal^2) de la calibración de energía.</value>
77+
</data>
78+
</root>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!-- 260625Cl: 多言語化 Phase1/3 (fr) text-only リソース。レイアウト(Size/Location/Font)は neutral へフォールバック。結晶学/回折用語は IUCr Online Dictionary 準拠。 -->
4+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
5+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6+
<xsd:element name="root" msdata:IsDataSet="true">
7+
<xsd:complexType>
8+
<xsd:choice maxOccurs="unbounded">
9+
<xsd:element name="metadata">
10+
<xsd:complexType>
11+
<xsd:sequence>
12+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
13+
</xsd:sequence>
14+
<xsd:attribute name="name" use="required" type="xsd:string" />
15+
<xsd:attribute name="type" type="xsd:string" />
16+
<xsd:attribute name="mimetype" type="xsd:string" />
17+
<xsd:attribute ref="xml:space" />
18+
</xsd:complexType>
19+
</xsd:element>
20+
<xsd:element name="assembly">
21+
<xsd:complexType>
22+
<xsd:attribute name="alias" type="xsd:string" />
23+
<xsd:attribute name="name" type="xsd:string" />
24+
</xsd:complexType>
25+
</xsd:element>
26+
<xsd:element name="data">
27+
<xsd:complexType>
28+
<xsd:sequence>
29+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
30+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
31+
</xsd:sequence>
32+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
33+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
34+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
35+
<xsd:attribute ref="xml:space" />
36+
</xsd:complexType>
37+
</xsd:element>
38+
<xsd:element name="resheader">
39+
<xsd:complexType>
40+
<xsd:sequence>
41+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
42+
</xsd:sequence>
43+
<xsd:attribute name="name" type="xsd:string" use="required" />
44+
</xsd:complexType>
45+
</xsd:element>
46+
</xsd:choice>
47+
</xsd:complexType>
48+
</xsd:element>
49+
</xsd:schema>
50+
<resheader name="resmimetype">
51+
<value>text/microsoft-resx</value>
52+
</resheader>
53+
<resheader name="version">
54+
<value>2.0</value>
55+
</resheader>
56+
<resheader name="reader">
57+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
58+
</resheader>
59+
<resheader name="writer">
60+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
61+
</resheader>
62+
<data name="checkBox1.ToolTip" xml:space="preserve">
63+
<value>Active ce détecteur EDX ; son
64+
étiquette indique le numéro du détecteur.</value>
65+
</data>
66+
<data name="numericBoxEGC0.ToolTip" xml:space="preserve">
67+
<value>Terme constant a0 (décalage en eV) de l'étalonnage en énergie
68+
E = a0 + a1*n + a2*n^2 (n = numéro de canal).</value>
69+
</data>
70+
<data name="numericBoxEGC1.ToolTip" xml:space="preserve">
71+
<value>Terme de gain linéaire a1 (eV par
72+
canal) de l'étalonnage en énergie.</value>
73+
</data>
74+
<data name="numericBoxEGC2.ToolTip" xml:space="preserve">
75+
<value>Terme quadratique (de non-linéarité) a2 (eV par
76+
canal^2) de l'étalonnage en énergie.</value>
77+
</data>
78+
</root>
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<root>
3+
<!-- 260625Cl: 多言語化 Phase1/3 (it) text-only リソース。レイアウト(Size/Location/Font)は neutral へフォールバック。結晶学/回折用語は IUCr Online Dictionary 準拠。 -->
4+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
5+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6+
<xsd:element name="root" msdata:IsDataSet="true">
7+
<xsd:complexType>
8+
<xsd:choice maxOccurs="unbounded">
9+
<xsd:element name="metadata">
10+
<xsd:complexType>
11+
<xsd:sequence>
12+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
13+
</xsd:sequence>
14+
<xsd:attribute name="name" use="required" type="xsd:string" />
15+
<xsd:attribute name="type" type="xsd:string" />
16+
<xsd:attribute name="mimetype" type="xsd:string" />
17+
<xsd:attribute ref="xml:space" />
18+
</xsd:complexType>
19+
</xsd:element>
20+
<xsd:element name="assembly">
21+
<xsd:complexType>
22+
<xsd:attribute name="alias" type="xsd:string" />
23+
<xsd:attribute name="name" type="xsd:string" />
24+
</xsd:complexType>
25+
</xsd:element>
26+
<xsd:element name="data">
27+
<xsd:complexType>
28+
<xsd:sequence>
29+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
30+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
31+
</xsd:sequence>
32+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
33+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
34+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
35+
<xsd:attribute ref="xml:space" />
36+
</xsd:complexType>
37+
</xsd:element>
38+
<xsd:element name="resheader">
39+
<xsd:complexType>
40+
<xsd:sequence>
41+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
42+
</xsd:sequence>
43+
<xsd:attribute name="name" type="xsd:string" use="required" />
44+
</xsd:complexType>
45+
</xsd:element>
46+
</xsd:choice>
47+
</xsd:complexType>
48+
</xsd:element>
49+
</xsd:schema>
50+
<resheader name="resmimetype">
51+
<value>text/microsoft-resx</value>
52+
</resheader>
53+
<resheader name="version">
54+
<value>2.0</value>
55+
</resheader>
56+
<resheader name="reader">
57+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
58+
</resheader>
59+
<resheader name="writer">
60+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
61+
</resheader>
62+
<data name="checkBox1.ToolTip" xml:space="preserve">
63+
<value>Abilita questo rivelatore EDX;
64+
l'etichetta mostra il numero del rivelatore.</value>
65+
</data>
66+
<data name="numericBoxEGC0.ToolTip" xml:space="preserve">
67+
<value>Termine costante a0 (offset in eV) della calibrazione in energia
68+
E = a0 + a1*n + a2*n^2 (n = numero di canale).</value>
69+
</data>
70+
<data name="numericBoxEGC1.ToolTip" xml:space="preserve">
71+
<value>Termine lineare di guadagno a1 (eV per
72+
canale) della calibrazione in energia.</value>
73+
</data>
74+
<data name="numericBoxEGC2.ToolTip" xml:space="preserve">
75+
<value>Termine quadratico (di non linearità) a2 (eV per
76+
canale^2) della calibrazione in energia.</value>
77+
</data>
78+
</root>

PDIndexer/DataConverter/EDXControl.ja.resx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@
1717
<resheader name="version">2.0</resheader>
1818
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
1919
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20-
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21-
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22-
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23-
<value>[base64 mime encoded serialized .NET Framework object]</value>
24-
</data>
25-
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26-
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27-
<comment>This is a comment</comment>
28-
</data>
2920
3021
There are any number of "resheader" rows that contain simple
3122
name/value pairs.

0 commit comments

Comments
 (0)