Project

General

Profile

Revision ca0e8f6d

IDca0e8f6dc0b4444048257a37a27f3b0633a055cd
Parent 2dd59866
Child 2c7c96aa

Added by Patrick Plitzner over 3 years ago

fix ref #6743 missing l10n for specimen editor context menu

View differences:

eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin.properties
177 177
command.label.REUSE_SINGLE_READ_HERE = Reuse single read here
178 178
command.label.REUSE_SINGLE_READ_FOR_OTHER_SEQUENCE = Reuse for other sequence
179 179
command.label.REMOVE_SINGLE_READ_FROM_THIS_SEQUENCE = Remove from this sequence
180
command.label.LINK_WITH_TAXON_SELECTIO = Link with Taxon Selection
181 180
command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE = Open Taxon Editor for taxonnode
182 181
command.name.OPEN_DERIVATIVE_EDITOR = Open Specimen Editor
183 182
command.name.LINK_WITH_TAXON_SELECTION = Link with taxon selection
184 183
command.name.COPY_SINGLE_READ_TO_CLIPBOARD = Copy SingleRead to clipboard
185 184
command.name.REUSE_SINGLE_READ = Reuse SingleRead
186 185
command.name.REMOVE_SINGLE_READ = Remove SingleRead from sequence
187
command.name.TOGGLE_LINK_WITH_TAXON_SELECTION = Toggle link with taxon selection
188 186

  
189 187
viewCommandMapping.viewerName.NAME_EDITOR = Name Editor
190 188
viewCommandMapping.viewerName.SPECIMEN_EDITOR = Specimen Editor
......
199 197
handledmenuitem.label.5 = Media Specimen
200 198
handledmenuitem.label.6 = Existing Media
201 199
handledmenuitem.label.7 = Single Read
202
handledmenuitem.label.8 = Create Field Unit For ...
200
handledmenuitem.label.8 = Create Field Unit For selected taxon
203 201
handledmenuitem.label.9 = Create Field Unit
204 202
command.commandname.1 = Create Field Unit
205 203
command.commandname.2 = Add Specimen
eu.etaxonomy.taxeditor.editor/OSGI-INF/l10n/plugin_de.properties
174 174
command.label.REUSE_SINGLE_READ_HERE = Single-Read hier wiederverwenden
175 175
command.label.REUSE_SINGLE_READ_FOR_OTHER_SEQUENCE = F?r andere Sequenz wiederverwenden
176 176
command.label.REMOVE_SINGLE_READ_FROM_THIS_SEQUENCE = Von dieser Sequenz entfernen
177
command.label.LINK_WITH_TAXON_SELECTIO = Verkn?pfe mit Taxonauswahl
178 177
command.name.OPEN_NAME_EDITOR_FOR_TAXON_NODE = ?ffne Namenseditor f?r Taxonknoten
179 178
command.name.OPEN_DERIVATIVE_EDITOR = ?ffne Specimen-Editor
180 179
command.name.LINK_WITH_TAXON_SELECTION = Verkn?pfe mit Taxonauswahl
181 180
command.name.COPY_SINGLE_READ_TO_CLIPBOARD = Kopiere Single-Read in die Zwischenablage
182 181
command.name.REUSE_SINGLE_READ = Single-Read wiederverwenden
183 182
command.name.REMOVE_SINGLE_READ = Entferne Single-Read von Sequenz
184
command.name.TOGGLE_LINK_WITH_TAXON_SELECTION = De-/Aktiviere Verkn?pfung mit Taxonauswahl
185 183

  
186 184
viewCommandMapping.viewerName.NAME_EDITOR = Namenseditor
187 185
viewCommandMapping.viewerName.SPECIMEN_EDITOR = Specimen-Editor
......
196 194
handledmenuitem.label.5 = Medienobjekt
197 195
handledmenuitem.label.6 = Vorhandendes Medienobjekt verwenden
198 196
handledmenuitem.label.7 = Single Read
199
handledmenuitem.label.8 = Erzeuge neue Field Unit f?r ...
197
handledmenuitem.label.8 = Erzeuge neue Field Unit f?r ausgew?hltes Taxon
200 198
handledmenuitem.label.9 = Erzeuge neue Field Unit
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/Messages.java
235 235
    public static String TaxonNameEditor_SAVING_COMPOSITES;
236 236
    public static String TaxonNameEditor_SAVING_NAMES;
237 237
    public static String TaxonNameEditor_THERE_SHOULD_ALWAYS_BE;
238
    public static String ToggleLinkWithTaxonSelectionHandler_LINK;
239
    public static String ToggleLinkWithTaxonSelectionHandler_UNLINK;
238 240
    public static String ValidationDaemon_RUNNING_DAEMON;
239 241
    public static String ValidationDaemon_VALIDATION_EXCEPTION;
240 242
    public static String ValidationDaemon_VALIDATION_STOPPED;
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/messages.properties
138 138
TaxonEditorInput_TAXON_NOT_IN_CLASSIFICATION=The accepted taxon is not part of any classification. Editing with the name editor is currently not implemented. Try to edit the taxon with the bulk editor.
139 139
TaxonEditorInputFactory_COULD_NOT_CREATE=Could not create element
140 140
TaxonEditorInputFactory_NOT_FOUND_TAXON=Couldn't find taxon node with UUID 
141
ToggleLinkWithTaxonSelectionHandler_LINK=Link with taxon selection
142
ToggleLinkWithTaxonSelectionHandler_UNLINK=Unlink from taxon selection
141 143
UseObjectManager_RESET_DATA=Reset usage data
142 144
CdmAuthorityEditor_SAVING_AUTHORITY_EDITOR=Saving CDM Authority Editor
143 145
EditCdmAuthoritiesHandler_COULD_NOT_OPEN_AUTHORITIES=Could not open CDM Authority Editor
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/l10n/messages_de.properties
137 137
TaxonEditorInput_OPEN_MISSAPPLIED_NAME=?ffnen einer Misapplikation 
138 138
TaxonEditorInput_TAXON_NOT_IN_CLASSIFICATION=Das akzeptierte Taxon ist in keiner Klassifikation vorhanden. Editieren mit dem Namens-Editor ist noch nicht implementier. Benutzen Sie den Bulk-Editor.
139 139
TaxonEditorInputFactory_COULD_NOT_CREATE=Element konnte nicht erstellt werden
140
TaxonEditorInputFactory_NOT_FOUND_TAXON=Konnte Taxonknoten nicht finden. UUID 
140
TaxonEditorInputFactory_NOT_FOUND_TAXON=Konnte Taxonknoten nicht finden. UUID
141
ToggleLinkWithTaxonSelectionHandler_LINK=Verkn?pfen mit Taxonauswahl
142
ToggleLinkWithTaxonSelectionHandler_UNLINK=Verkn?pfung mit Taxonauswahl aufheben 
141 143
UseObjectManager_RESET_DATA=Wiederherstellen der Nutzugsdaten
142 144
CdmAuthorityEditor_SAVING_AUTHORITY_EDITOR=Speichere CDM Authority Editor
143 145
EditCdmAuthoritiesHandler_COULD_NOT_OPEN_AUTHORITIES=Konnte CDM-Authority-Editor nicht ?ffnen
......
196 198
DeleteDerivateHandler_INVALID_SELECTION=Auswahl ung?ltig
197 199
DeleteDerivateHandler_LABEL=L?schen von Derivaten
198 200
DeleteDerivateHandler_SUCCESSFULL_BUT_EXCEPTIONS=L?schen war erfolgreich, aber es gab Exceptions
199
DeleteDerivateHandler_CANCELLED=Das L?schen wurde abgebrochen
200 201
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS=Keine Specimens gefunden
201 202
OpenDerivativeEditorForDescriptionElement_NO_SPECIMENS_MESSAGE=Keine Specimens f?r die Auswahl. (Gibt es vielleicht noch ungespeicherte ?nderungen?)
202 203
OpenDerivativeEditorForTaxonNode_COULD_NOT_OPEN=Specimen-Editor konnte nicht ge?ffnet werden
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/ToggleLinkWithTaxonSelectionHandler.java
8 8
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem;
9 9
import org.eclipse.e4.ui.services.IServiceConstants;
10 10

  
11
import eu.etaxonomy.taxeditor.editor.l10n.Messages;
11 12
import eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView;
12 13

  
13 14
public class ToggleLinkWithTaxonSelectionHandler {
......
22 23
    public boolean canExecute(@Named(IServiceConstants.ACTIVE_PART) MPart part, MHandledMenuItem item){
23 24
        DerivateView derivateView = (DerivateView) part.getObject();
24 25
        if(derivateView.isListenToSelectionChange()){
25
            item.setLabel("Unlink from taxon selection");
26
            item.setLabel(Messages.ToggleLinkWithTaxonSelectionHandler_UNLINK);
26 27
        }
27 28
        else{
28
            item.setLabel("Link with taxon selection");
29
            item.setLabel(Messages.ToggleLinkWithTaxonSelectionHandler_LINK);
29 30
        }
30 31
        return true;
31 32
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)