Change localization to /OSGI-INF/l10n

This commit is contained in:
peterdell
2021-09-18 01:05:16 +02:00
parent f568a329ca
commit a7feebaf9f
4 changed files with 517 additions and 516 deletions

View File

@@ -4,7 +4,6 @@ Bundle-Name: WUDSN IDE Hex Editor Plugin
Bundle-SymbolicName: com.wudsn.ide.hex;singleton:=true
Bundle-Version: 1.7.2.qualifier
Bundle-Activator: com.wudsn.ide.hex.HexPlugin
Bundle-Localization: plugin
Bundle-Vendor: Peter Dell
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,

View File

@@ -5,5 +5,7 @@ bin.includes = META-INF/,\
icons/,\
plugin.properties,\
plugin_de_DE.properties,\
plugin.xml
plugin.xml,\
OSGI-INF/,\
bin/

View File

@@ -132,13 +132,11 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
private File ioFile;
/**
* This main method is for testing the speed of the source file parser
* component only.
* This main method is for testing the speed of the source file parser component
* only.
*
* @param args
* Not used, not <code>null</code>.
* @throws Exception
* If anything goes terribly wrong.
* @param args Not used, not <code>null</code>.
* @throws Exception If anything goes terribly wrong.
*/
public static void main(String[] args) throws Exception {
@@ -160,8 +158,7 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
}
/**
* Creation is public. Called by extension point
* "org.eclipse.ui.popupMenus".
* Creation is public. Called by extension point "org.eclipse.ui.popupMenus".
*/
public HexEditor() {
super();
@@ -365,6 +362,9 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
@Override
public HexEditorSelection getSelection() {
if (textField == null) {
return null;
}
Point textFieldSelection = textField.getSelection();
String selectedText = textField.getText().substring(textFieldSelection.x, textFieldSelection.y);
@@ -372,7 +372,6 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
return null;
}
BasePlugin.getInstance().log("HexEditor selectedText=\"{0}\", selection.x={1}, selection.y={2}", new Object[] {
selectedText, String.valueOf(textFieldSelection.x), String.valueOf(textFieldSelection.y) });
@@ -567,8 +566,7 @@ public final class HexEditor extends EditorPart implements ISelectionProvider, A
/**
* Called by {@link HexEditorClipboardCommandHandler}.
*
* @param bytes
* The byte array to be pasted, may be empty, not
* @param bytes The byte array to be pasted, may be empty, not
* <code>null</code>.
*
* TODO Hex paste is not working yet

View File

@@ -0,0 +1,2 @@
#Properties file for com.wudsn.ide.pas
com.wudsn.ide.pas.compiler.PascalSourceFile.name = Pascal Quell-Datei