Skip to content
Snippets Groups Projects
Commit 6033c559 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Added some localization strings.

parent eaa34204
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,9 @@ lists = Listen
gridSize = Gittergr\u00f6\u00dfe
gridColor = Gitterfarbe
showUninitializedComponents = Zeige uninitialisierte Komponenten an
showComponentsWithoutDisplays = Zeige Komponenten ohne Displays an
#------------------------------------------------------------------------------
#
# The following are error, exception and log messages.
......
......@@ -53,6 +53,9 @@ lists = Lists
gridSize = Grid-Size
gridColor = Grid-Color
showUninitializedComponents = Show uninitialized components
showComponentsWithoutDisplays = Show components without displays
#------------------------------------------------------------------------------
#
# The following are error, exception and log messages.
......
......@@ -17,4 +17,5 @@ editPassword = Password
username = Benutzername
userrole = Benutzerrolle
password = Passwort
enabled = Aktiviert
\ No newline at end of file
......@@ -17,4 +17,5 @@ editPassword = Edit Password
username = Username
userrole = Userrole
password = Password
enabled = Enabled
\ No newline at end of file
......@@ -6,7 +6,7 @@
<p:dialog id="manageLibrariesDlg" header="#{localizedAnalysisEditorPageMessages.libraries}" resizable="false" modal="true" widgetVar="manageLibrariesDialog">
<h:form id="dependenciesForm">
<p:dataTable id="currentDependencies" value="#{currentAnalysisEditorBean.libraries}" var="dependency" paginator="true" rows="10" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" >
<p:dataTable id="currentDependencies" value="#{currentAnalysisEditorBean.libraries}" rowIndexVar="rowIndex" var="dependency" paginator="true" rows="10" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}" >
<p:column headerText="#{localizedAnalysisEditorPageMessages.fileName}">
<h:outputText value="#{dependency}"/>
......@@ -17,8 +17,8 @@
</p:column>
<p:column headerText="#{localizedAnalysisEditorPageMessages.libOptions}" style="text-align: center; width:40px">
<p:commandButton id="deleteButton" icon="ui-icon-delete" action="#{currentAnalysisEditorBean.deleteLibrary(dependency)}" update=":dependenciesForm :messages :toolpalette"/>
<p:tooltip for="deleteButton" value="Delete Library"/>
<p:commandButton id="deleteButton" icon="ui-icon-delete" rendered="#{rowIndex != 0}" action="#{currentAnalysisEditorBean.deleteLibrary(dependency)}" update=":dependenciesForm :messages :toolpalette"/>
<p:tooltip for="deleteButton" rendered="#{rowIndex != 0}" value="Delete Library"/>
</p:column>
</p:dataTable>
</h:form>
......
......@@ -35,20 +35,23 @@
<h:outputText value="#{localizedMessages.gridColor}:"/>
<p:colorPicker style="width: 100%" value="#{userBean.gridColor}" valueChangeListener="#{currentAnalysisEditorBean.gridColorListener}"/>
<h:outputText value="#{localizedMessages.showUninitializedComponents}:"/>
<p:selectBooleanCheckbox disabled="true"/>
</h:panelGrid>
</p:tab>
<p:tab title="#{localizedMessages.analysisController}" disabled="true">
</p:tab>
<p:tab title="#{localizedMessages.cockpitEditor}">
<h:panelGrid columns="2" cellpadding="10" columnClasses="rightAlignedColumn, normalColumn">
<h:outputText value="Show components without displays:"/>
<p:selectBooleanCheckbox>
</p:selectBooleanCheckbox>
<h:outputText value="#{localizedMessages.showComponentsWithoutDisplays}:"/>
<p:selectBooleanCheckbox disabled="true"/>
</h:panelGrid>
</p:tab>
<p:tab title="#{localizedMessages.cockpit}" disabled="true">
</p:tab>
<p:tab title="User Managment" disabled="true">
</p:tab>
</p:tabView>
<hr/>
<div style="text-align: right">
......
......@@ -17,14 +17,14 @@
<h:outputText value="#{localizedUserManagementMessages.password}: " />
<p:password feedback="true" value="#{newUserBean.password}" style="width: 100%" />
<h:outputText value="Benutzerrolle: " />
<h:outputText value="#{localizedUserManagementMessages.userrole}: " />
<p:selectOneRadio value="#{newUserBean.role}" converter="roleStringConverter">
<f:selectItem itemLabel="Gast" itemValue="#{ROLE_GUEST}" />
<f:selectItem itemLabel="Benutzer" itemValue="#{ROLE_USER}" />
<f:selectItem itemLabel="Administrator" itemValue="#{ROLE_ADMIN}" />
</p:selectOneRadio>
<h:outputText value="Status: " />
<h:outputText value="#{localizedUserManagementMessages.enabled}: " />
<p:selectOneRadio value="#{newUserBean.active}">
<f:selectItem itemLabel="Aktiviert" itemValue="#{true}" />
<f:selectItem itemLabel="Deaktiviert" itemValue="#{false}" />
......
......@@ -53,7 +53,7 @@
<f:param name="projectName" value="#{project}"/>
</p:menuitem>
<c:if test="#{sec:areAnyGranted('User, Administrator')}">
<p:menuitem icon="ui-icon-analysis" id="controlAnalysis" styleClass="element-with-whitespace" value=" #{localizedMessages.analysis}" ajax="false" outcome="controller">
<p:menuitem icon="ui-icon-analysis" id="controlAnalysis" styleClass="element-with-whitespace" value=" #{localizedMessages.analysis}" ajax="false" outcome="controller">
<f:param name="projectName" value="#{project}"/>
</p:menuitem>
</c:if>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment