Skip to content

Commit 3365aea

Browse files
naren2605sid-srini
authored andcommitted
Adding notebooks-l10n translation support
1 parent 1bf5c0d commit 3365aea

File tree

3 files changed

+119
-1
lines changed

3 files changed

+119
-1
lines changed

build.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
patches/l10n/adding-java.lsp.server-ja-and-zh_CN.diff
3838
patches/l10n/24.1.0-release-content-changes.diff
3939
patches/l10n/24.1.0-previous-issues-fix.diff
40+
patches/l10n/25.0.0-notebooks-l10n.diff
4041
</string>
4142
<filterchain>
4243
<tokenfilter delimoutput=" ">

nbcode/notebooks/src/org/netbeans/modules/nbcode/java/notebook/Bundle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2024-2025, Oracle and/or its affiliates.
2+
# Copyright (c) 2025, Oracle and/or its affiliates.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -13,5 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
1617
OpenIDE-Module-Display-Category=Java
1718
OpenIDE-Module-Name=Java notebooks
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
diff --git a/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_ja.properties b/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_ja.properties
2+
new file mode 100644
3+
index 000000000..13780eb50
4+
--- /dev/null
5+
+++ b/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_ja.properties
6+
@@ -0,0 +1,23 @@
7+
+#
8+
+# Copyright (c) 2025, Oracle and/or its affiliates.
9+
+#
10+
+# Licensed under the Apache License, Version 2.0 (the "License");
11+
+# you may not use this file except in compliance with the License.
12+
+# You may obtain a copy of the License at
13+
+#
14+
+# https://www.apache.org/licenses/LICENSE-2.0
15+
+#
16+
+# Unless required by applicable law or agreed to in writing, software
17+
+# distributed under the License is distributed on an "AS IS" BASIS,
18+
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19+
+# See the License for the specific language governing permissions and
20+
+# limitations under the License.
21+
+#
22+
+
23+
+MSG_InterruptCodeCellExecSuccess=Code execution stopped successfully
24+
+MSG_InterruptCodeCellInfo=Code execution was interrupted
25+
+# {0} - error message
26+
+MSG_KernelInitializeFailed=Java kernel initialization for the notebook failed. Error {0}
27+
+MSG_KernelInitializeSuccess=Java kernel initialized successfully.
28+
+MSG_KernelInitializing=Intializing Java kernel for notebook
29+
+PROMPT_GetUserInput=Please provide scanner input here
30+
\ No newline at end of file
31+
diff --git a/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_ja.properties b/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_ja.properties
32+
new file mode 100644
33+
index 000000000..95e2fb8fa
34+
--- /dev/null
35+
+++ b/netbeans-l10n-zip/src/ja/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_ja.properties
36+
@@ -0,0 +1,22 @@
37+
+#
38+
+# Copyright (c) 2025, Oracle and/or its affiliates.
39+
+#
40+
+# Licensed under the Apache License, Version 2.0 (the "License");
41+
+# you may not use this file except in compliance with the License.
42+
+# You may obtain a copy of the License at
43+
+#
44+
+# https://www.apache.org/licenses/LICENSE-2.0
45+
+#
46+
+# Unless required by applicable law or agreed to in writing, software
47+
+# distributed under the License is distributed on an "AS IS" BASIS,
48+
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49+
+# See the License for the specific language governing permissions and
50+
+# limitations under the License.
51+
+#
52+
+
53+
+# {0} - project name
54+
+LBL_CurrentProjectContext=Current project context: {0}
55+
+MSG_NoProjectContextFound=No project context
56+
+MSG_NoProjectFound=No projects found
57+
+PROMPT_SelectProjectTitle=Select Project
58+
+
59+
diff --git a/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_zh_CN.properties b/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_zh_CN.properties
60+
new file mode 100644
61+
index 000000000..13780eb50
62+
--- /dev/null
63+
+++ b/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/notebook/Bundle_zh_CN.properties
64+
@@ -0,0 +1,23 @@
65+
+#
66+
+# Copyright (c) 2025, Oracle and/or its affiliates.
67+
+#
68+
+# Licensed under the Apache License, Version 2.0 (the "License");
69+
+# you may not use this file except in compliance with the License.
70+
+# You may obtain a copy of the License at
71+
+#
72+
+# https://www.apache.org/licenses/LICENSE-2.0
73+
+#
74+
+# Unless required by applicable law or agreed to in writing, software
75+
+# distributed under the License is distributed on an "AS IS" BASIS,
76+
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
77+
+# See the License for the specific language governing permissions and
78+
+# limitations under the License.
79+
+#
80+
+
81+
+MSG_InterruptCodeCellExecSuccess=Code execution stopped successfully
82+
+MSG_InterruptCodeCellInfo=Code execution was interrupted
83+
+# {0} - error message
84+
+MSG_KernelInitializeFailed=Java kernel initialization for the notebook failed. Error {0}
85+
+MSG_KernelInitializeSuccess=Java kernel initialized successfully.
86+
+MSG_KernelInitializing=Intializing Java kernel for notebook
87+
+PROMPT_GetUserInput=Please provide scanner input here
88+
\ No newline at end of file
89+
diff --git a/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_zh_CN.properties b/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_zh_CN.properties
90+
new file mode 100644
91+
index 000000000..95e2fb8fa
92+
--- /dev/null
93+
+++ b/netbeans-l10n-zip/src/zh_CN/java/nbcode-java-notebook/nbcode-java-notebook/org/netbeans/modules/nbcode/java/project/Bundle_zh_CN.properties
94+
@@ -0,0 +1,22 @@
95+
+#
96+
+# Copyright (c) 2025, Oracle and/or its affiliates.
97+
+#
98+
+# Licensed under the Apache License, Version 2.0 (the "License");
99+
+# you may not use this file except in compliance with the License.
100+
+# You may obtain a copy of the License at
101+
+#
102+
+# https://www.apache.org/licenses/LICENSE-2.0
103+
+#
104+
+# Unless required by applicable law or agreed to in writing, software
105+
+# distributed under the License is distributed on an "AS IS" BASIS,
106+
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
107+
+# See the License for the specific language governing permissions and
108+
+# limitations under the License.
109+
+#
110+
+
111+
+# {0} - project name
112+
+LBL_CurrentProjectContext=Current project context: {0}
113+
+MSG_NoProjectContextFound=No project context
114+
+MSG_NoProjectFound=No projects found
115+
+PROMPT_SelectProjectTitle=Select Project
116+
+

0 commit comments

Comments
 (0)