forked from eclipse-cdt/cdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-cdt#695] Improve localization for org.eclipse.tools.template…
…s.ui bundle * retarget localization to default location * do i18n for plugin.xml * do i18n for java sources * add missed copyright headers
- Loading branch information
1 parent
7f69191
commit 3b2f7c3
Showing
9 changed files
with
105 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
tools.templates/org.eclipse.tools.templates.ui/OSGI-INF/l10n/bundle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
############################################################################### | ||
# Copyright (c) 2024 ArSysOp and others | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Eclipse Public License v. 2.0 which is available at | ||
# https://www.eclipse.org/legal/epl-2.0 | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Alexander Fedorov (ArSysOp) - initial API and implementation | ||
############################################################################### | ||
|
||
Bundle-Name = Template Engine UI | ||
Bundle-Vendor = Eclipse CDT | ||
extension-point.templates.name = New Element Templates |
22 changes: 17 additions & 5 deletions
22
tools.templates/org.eclipse.tools.templates.ui/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
############################################################################### | ||
# Copyright (c) 2016, 2024 Contributors to Eclipse Foundation | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Eclipse Public License v. 2.0 which is available at | ||
# https://www.eclipse.org/legal/epl-2.0 | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# See git history | ||
############################################################################### | ||
source.. = src/ | ||
output.. = bin/ | ||
bin.includes = META-INF/,\ | ||
.,\ | ||
about.html,\ | ||
plugin.xml,\ | ||
bin.includes = .,\ | ||
META-INF/,\ | ||
OSGI-INF/,\ | ||
schema/,\ | ||
plugin.properties | ||
about.html,\ | ||
plugin.xml | ||
src.includes = about.html |
13 changes: 0 additions & 13 deletions
13
tools.templates/org.eclipse.tools.templates.ui/plugin.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?eclipse version="3.4"?> | ||
<!-- | ||
Copyright (c) 2016, 2024 Contributors to the Eclipse Foundation | ||
This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License 2.0 | ||
which accompanies this distribution, and is available at | ||
https://www.eclipse.org/legal/epl-2.0/ | ||
SPDX-License-Identifier: EPL-2.0 | ||
Contributors: | ||
See git history | ||
--> | ||
<plugin> | ||
<extension-point id="templates" name="New Element Templates" schema="schema/templates.exsd"/> | ||
|
||
<extension-point id="templates" name="%extension-point.templates.name" schema="schema/templates.exsd"/> | ||
|
||
</plugin> |
28 changes: 28 additions & 0 deletions
28
.../org.eclipse.tools.templates.ui/src/org/eclipse/tools/templates/ui/internal/Messages.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 ArSysOp and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Alexander Fedorov (ArSysOp) - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.tools.templates.ui.internal; | ||
|
||
import org.eclipse.osgi.util.NLS; | ||
|
||
public class Messages extends NLS { | ||
private static final String BUNDLE_NAME = Messages.class.getPackageName() + ".messages"; //$NON-NLS-1$ | ||
public static String TemplateExtension_tag_all; | ||
static { | ||
// initialize resource bundle | ||
NLS.initializeMessages(BUNDLE_NAME, Messages.class); | ||
} | ||
|
||
private Messages() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...clipse.tools.templates.ui/src/org/eclipse/tools/templates/ui/internal/messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
############################################################################### | ||
# Copyright (c) 2024 ArSysOp and others | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Eclipse Public License v. 2.0 which is available at | ||
# https://www.eclipse.org/legal/epl-2.0 | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Alexander Fedorov (ArSysOp) - initial API and implementation | ||
############################################################################### | ||
|
||
TemplateExtension_tag_all=All |
12 changes: 12 additions & 0 deletions
12
...tes/org.eclipse.tools.templates.ui/src/org/eclipse/tools/templates/ui/messages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters