Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public class InstallExamplesMenuEntry implements MenuEntry
@Override
public String getName()
{
return "Install Example 3D Viewer Files";
return Messages.InstallExample3DViewerFiles;
}

@Override
public String getMenuPath()
{
return "Display.Examples";
return Messages.MenuPathExample;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
******************************************************************************/
package org.phoebus.applications.viewer3d;

import org.phoebus.framework.nls.NLS;

/** Eclipse string externalization
* @author Kay Kasemir
* @author Pavel Charvat
*/
public class Messages
{
// ---
// --- Keep alphabetically sorted and 'in sync' with messages.properties!
// ---
public static String MenuPath;
public static String MenuPathExample;
public static String InstallExample3DViewerFiles;
// ---
// --- Keep alphabetically sorted and 'in sync' with messages.properties!
// ---

static
{
NLS.initializeMessages(Messages.class);
}

private Messages()
{
// Prevent instantiation
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public String getName()
@Override
public String getMenuPath()
{
return "Display";
return Messages.MenuPath;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3DViewer=3D Viewer
InstallExample3DViewerFiles=Install Example 3D Viewer Files
MenuPath=Display
MenuPathExample=Display.Examples
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
3DViewer=3D Viewer
InstallExample3DViewerFiles=Installer exemples fichers 3D Viewer
MenuPath=Affichage
MenuPathExample=Affichage.Exemples
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class AlarmLogTableApp implements AppResourceDescriptor {

public static final Logger logger = Logger.getLogger(AlarmLogTableApp.class.getName());
public static final String NAME = "Alarm Log Table";
public static final String DISPLAYNAME = "Alarm Log Table";
public static final String DISPLAYNAME = Messages.AlarmLogTable;

public static final String SUPPORTED_SCHEMA = "alarmLog";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public String getName() {

@Override
public String getMenuPath() {
return "Alarm";
return Messages.MenuPath;
}

@Override
public Image getIcon() {
return AlarmLogTableApp.icon;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@

public class Messages {
public static String AlarmInformation;
public static String AlarmLogTable;
public static String ConfigurationInfo;
public static String ConfigurationInfoNotFound;
public static String MenuPath;

static
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
AlarmInformation=Alarm Information
AlarmLogTable=Alarm Log Table
ConfigurationInfo=Configuration Info
ConfigurationInfoNotFound=Configuration info not found.
Configurations=Configurations:
Expand Down Expand Up @@ -44,7 +45,7 @@ EndTime=End Time
Mode=Mode
#
NoSearchResults=No Search Results
Query=Query:
Query=Query:
Search=Search
Configuration=Configuration(s):
# Table Column Visibility
Expand All @@ -68,4 +69,4 @@ UserVisible=true
# Phoebus Host Column
HostVisible=true
#

MenuPath=Alarm
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
AlarmInformation=Informations sur l'alarme
AlarmLogTable=Historique des alarmes
Command=Commande
Config=Configuration
ConfigurationInfo=Informations sur la configuration
ConfigurationInfoNotFound=Informations sur la configuration introuvables.
Configurations=Configurations :
CurrentMessage=Message actuel
CurrentSeverity=Gravité actuelle
CurrentSeverity=Gravit\u00E9 actuelle
EndTime=Heure de fin
Host=Hôte
Host=H\u00F4te
Message=Message
MessageTime=Heure du message
Mode=Mode
NoSearchResults=Aucun résultat de recherche
Query=Requête :
NoSearchResults=Aucun r\u00E9sultat de recherche
Query=Requ\u00EAte :
Search=Rechercher
Configuration=Configuration(s) :
Severity=Gravité
StartTime=Heure de début
Severity=Gravit\u00E9
StartTime=Heure de d\u00E9but
Time=Heure
User=Utilisateur
Value=Valeur
Expand All @@ -30,4 +31,4 @@ CMessageVisible=true
CommandVisible=true
UserVisible=true
HostVisible=true

MenuPath=Alarmes
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public class Messages
public static String acknowledgeFailed;
public static String addComponentFailed;
public static String automatedActions;
public static String AlarmAreaPanel;
public static String AlarmTable;
public static String AlarmTree;
public static String Annunciator;
public static String commands;
public static String configure;
public static String delayTooltip0;
Expand All @@ -39,6 +43,7 @@ public class Messages
public static String headerConfirmDisableWithEnableDate;
public static String headerConfirmEnable;
public static String indefinitely;
public static String MenuPath;
public static String moveItemFailed;
public static String promptTitle;
public static String removeComponentFailed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.phoebus.applications.alarm.AlarmSystem;
import org.phoebus.applications.alarm.ui.AlarmUI;
import org.phoebus.applications.alarm.ui.AlarmURI;
import org.phoebus.applications.alarm.ui.Messages;
import org.phoebus.framework.spi.AppResourceDescriptor;

/** Annunciator application
Expand All @@ -35,7 +36,7 @@ public class AnnunciatorTableApplication implements AppResourceDescriptor
public static final String NAME = "annunciator";

/** Visible app name */
public static final String DISPLAY_NAME = "Annunciator";
public static final String DISPLAY_NAME = Messages.Annunciator;

@Override
public String getName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
import org.phoebus.framework.workbench.ApplicationService;
import org.phoebus.ui.javafx.ImageCache;
import org.phoebus.ui.spi.MenuEntry;
import org.phoebus.applications.alarm.ui.Messages;

import javafx.scene.image.Image;


/** Menu entry to open annunciator
* @author Evan Smith
*/
Expand Down Expand Up @@ -42,6 +44,6 @@ public Image getIcon()
@Override
public String getMenuPath()
{
return "Alarm";
return Messages.MenuPath;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import org.phoebus.applications.alarm.ui.AlarmUI;
import org.phoebus.applications.alarm.ui.AlarmURI;
import org.phoebus.framework.spi.AppResourceDescriptor;
import org.phoebus.applications.alarm.ui.Messages;

/** Application descriptor for "Alarm Area Panel"
* @author Evan Smith
Expand All @@ -28,7 +29,7 @@ public class AlarmAreaApplication implements AppResourceDescriptor
public static final String NAME = "alarm_area";

/** Visible app name */
public static final String DISPLAY_NAME = "Alarm Area Panel";
public static final String DISPLAY_NAME = Messages.AlarmAreaPanel;

@Override
public String getName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.phoebus.framework.workbench.ApplicationService;
import org.phoebus.ui.javafx.ImageCache;
import org.phoebus.ui.spi.MenuEntry;
import org.phoebus.applications.alarm.ui.Messages;

import javafx.scene.image.Image;

Expand All @@ -35,7 +36,7 @@ public Image getIcon()
@Override
public String getMenuPath()
{
return "Alarm";
return Messages.MenuPath;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import org.phoebus.applications.alarm.ui.AlarmUI;
import org.phoebus.applications.alarm.ui.AlarmURI;
import org.phoebus.framework.spi.AppResourceDescriptor;
import org.phoebus.applications.alarm.ui.Messages;

/** Application descriptor for "Alarm Table"
* @author Kay Kasemir
Expand All @@ -28,7 +29,7 @@ public class AlarmTableApplication implements AppResourceDescriptor
public static final String NAME = "alarm_table";

/** Visible app name */
public static final String DISPLAY_NAME = "Alarm Table";
public static final String DISPLAY_NAME = Messages.AlarmTable;

@Override
public String getName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.phoebus.framework.workbench.ApplicationService;
import org.phoebus.ui.javafx.ImageCache;
import org.phoebus.ui.spi.MenuEntry;
import org.phoebus.applications.alarm.ui.Messages;

import javafx.scene.image.Image;

Expand All @@ -36,7 +37,7 @@ public Image getIcon()
@Override
public String getMenuPath()
{
return "Alarm";
return Messages.MenuPath;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.util.logging.Level;

import org.phoebus.applications.alarm.AlarmSystem;
import org.phoebus.applications.alarm.ui.Messages;
import org.phoebus.applications.alarm.ui.AlarmUI;
import org.phoebus.applications.alarm.ui.AlarmURI;
import org.phoebus.framework.spi.AppResourceDescriptor;
Expand All @@ -28,7 +29,7 @@ public class AlarmTreeApplication implements AppResourceDescriptor
public static final String NAME = "alarm_tree";

/** Visible app name */
public static final String DISPLAY_NAME = "Alarm Tree";
public static final String DISPLAY_NAME = Messages.AlarmTree;

@Override
public String getName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.phoebus.framework.workbench.ApplicationService;
import org.phoebus.ui.javafx.ImageCache;
import org.phoebus.ui.spi.MenuEntry;
import org.phoebus.applications.alarm.ui.Messages;

import javafx.scene.image.Image;

Expand Down Expand Up @@ -43,7 +44,7 @@ public Image getIcon()
@Override
public String getMenuPath()
{
return "Alarm";
return Messages.MenuPath;
}

public void setResource(URI resource){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
acknowledgeFailed=Failed to acknowledge alarm(s)
absoluteDateLabel=Absolute Date:
addComponentFailed=Failed to add component
AlarmAreaPanel=Alarm Area Panel
AlarmTable=Alarm Table
AlarmTree=Alarm Tree
Annunciator=Annunciator
alarmCount=Alarm Count [within delay]:
alarmCountTooltip=Alarms are indicated when they occur this often within the delay
alarmDelay=Alarm Delay [seconds]:
Expand Down Expand Up @@ -64,6 +68,7 @@ info=Info
invalidDate=You have selected a date that is either invalid or in the past
latch=Latch
latchTooltip=Latch alarm until acknowledged?
MenuPath=Alarm
moveItemFailed=Failed to move item
option=Option
partlyDisabled2=(Partly disabled)
Expand Down
Loading
Loading