Skip to content

Commit 244146b

Browse files
author
Chris
committed
update texts for wording issues
1 parent 99e6fd4 commit 244146b

File tree

2 files changed

+35
-37
lines changed

2 files changed

+35
-37
lines changed

roles/database/files/sql/idempotent/fworch-texts.sql

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,8 +2098,8 @@ INSERT INTO txt VALUES ('write_user_pwd', 'German', 'Passwort Schreibende
20982098
INSERT INTO txt VALUES ('write_user_pwd', 'English', 'Write User Password');
20992099
INSERT INTO txt VALUES ('tenant', 'German', 'Mandant');
21002100
INSERT INTO txt VALUES ('tenant', 'English', 'Tenant');
2101-
INSERT INTO txt VALUES ('lifecyclestate', 'German', 'Produktionszyklus');
2102-
INSERT INTO txt VALUES ('lifecyclestate', 'English', 'Lifecycle State');
2101+
INSERT INTO txt VALUES ('owner_lc_state', 'German', 'Produktionsstatus');
2102+
INSERT INTO txt VALUES ('owner_lc_state', 'English', 'Production state');
21032103
INSERT INTO txt VALUES ('global_tenant_name', 'German', 'Globaler Mandantenname');
21042104
INSERT INTO txt VALUES ('global_tenant_name', 'English', 'Global Tenant Name');
21052105
INSERT INTO txt VALUES ('pwMinLength', 'German', 'Mindestlänge');
@@ -2404,16 +2404,16 @@ INSERT INTO txt VALUES ('assign_state_to', 'German', 'Status zuordnen zu:
24042404
INSERT INTO txt VALUES ('assign_state_to', 'English', 'Assign state to: ');
24052405
INSERT INTO txt VALUES ('select_action', 'German', 'Aktion auswählen');
24062406
INSERT INTO txt VALUES ('select_action', 'English', 'Select action');
2407-
INSERT INTO txt VALUES ('manage_lifecycles', 'German', 'Produktionszyklen verwalten');
2408-
INSERT INTO txt VALUES ('manage_lifecycles', 'English', 'Manage Lifecycles');
2409-
INSERT INTO txt VALUES ('add_lifecycle', 'German', 'Produktionszyklus hinzufügen');
2410-
INSERT INTO txt VALUES ('add_lifecycle', 'English', 'Add lifecycle');
2411-
INSERT INTO txt VALUES ('lifecycles', 'German', 'Produktionszyklen');
2412-
INSERT INTO txt VALUES ('lifecycles', 'English', 'Lifecycles');
2413-
INSERT INTO txt VALUES ('edit_lifecycle', 'German', 'Produktionszyklus bearbeiten');
2414-
INSERT INTO txt VALUES ('edit_lifecycle', 'English', 'Edit lifecycle');
2415-
INSERT INTO txt VALUES ('delete_lifecycle', 'German', 'Produktionszyklus löschen');
2416-
INSERT INTO txt VALUES ('delete_lifecycle', 'English', 'Delete lifecycle');
2407+
INSERT INTO txt VALUES ('manage_owner_lc_state','German', 'Produktions-Lifecylce-Systati ändern');
2408+
INSERT INTO txt VALUES ('manage_owner_lc_state','English', 'Manage production lifecycle states');
2409+
INSERT INTO txt VALUES ('add_owner_lc_state', 'German', 'Lifecycle Status hinzufügen');
2410+
INSERT INTO txt VALUES ('add_owner_lc_state', 'English', 'Add Owner Lifecycle State');
2411+
INSERT INTO txt VALUES ('owner_lc_states', 'German', 'Produktions-Stati');
2412+
INSERT INTO txt VALUES ('owner_lc_states', 'English', 'Production Lifecycle States');
2413+
INSERT INTO txt VALUES ('edit_owner_lc_state', 'German', 'Lifecycle Status bearbeiten');
2414+
INSERT INTO txt VALUES ('edit_owner_lc_state', 'English', 'Edit Owner Lifecycle State');
2415+
INSERT INTO txt VALUES ('delete_owner_lc_state','German', 'Lifecycle Status löschen');
2416+
INSERT INTO txt VALUES ('delete_owner_lc_state','English', 'Delete Owner Lifecycle State');
24172417
INSERT INTO txt VALUES ('owners', 'German', 'Eigentümer');
24182418
INSERT INTO txt VALUES ('owners', 'English', 'Owners');
24192419
INSERT INTO txt VALUES ('add_owner', 'German', 'Eigentümer hinzufügen');
@@ -2999,8 +2999,8 @@ INSERT INTO txt VALUES ('U5217', 'German', 'Sind sie sicher, dass sie folgenden
29992999
INSERT INTO txt VALUES ('U5217', 'English', 'Are you sure you want to delete owner: ');
30003000
INSERT INTO txt VALUES ('U5218', 'German', 'Löscht alle Beispiel-Eigentümer (auf "_demo" endend)');
30013001
INSERT INTO txt VALUES ('U5218', 'English', 'Deletes all sample owners (ending with "_demo")');
3002-
INSERT INTO txt VALUES ('U5219', 'German', 'Sind sie sicher, dass sie folgenden Produktionszyklus löschen wollen: ');
3003-
INSERT INTO txt VALUES ('U5219', 'English', 'Are you sure you want to delete lifecycle: ');
3002+
INSERT INTO txt VALUES ('U5219', 'German', 'Sind sie sicher, dass sie folgenden Lifecycle Status löschen wollen: ');
3003+
INSERT INTO txt VALUES ('U5219', 'English', 'Are you sure you want to delete Owner Lifecycle State: ');
30043004

30053005
INSERT INTO txt VALUES ('U5301', 'German', 'Einstellungen geändert.');
30063006
INSERT INTO txt VALUES ('U5301', 'English', 'Settings changed.');
@@ -3365,8 +3365,8 @@ INSERT INTO txt VALUES ('E5291', 'German', 'Eigentümer konnte nicht gespei
33653365
INSERT INTO txt VALUES ('E5291', 'English', 'Owner could not be saved');
33663366
INSERT INTO txt VALUES ('E5292', 'German', 'Dn oder Gruppe muss gefüllt sein');
33673367
INSERT INTO txt VALUES ('E5292', 'English', 'Dn or group has to be filled');
3368-
INSERT INTO txt VALUES ('E5293', 'German', 'Produktionszyklus konnte nicht gespeichert werden');
3369-
INSERT INTO txt VALUES ('E5293', 'English', 'Lifecycle could not be saved');
3368+
INSERT INTO txt VALUES ('E5293', 'German', 'Lifecycle Status konnte nicht gespeichert werden');
3369+
INSERT INTO txt VALUES ('E5293', 'English', 'Owner Lifecycle State could not be saved');
33703370

33713371
INSERT INTO txt VALUES ('E5301', 'German', 'Konfiguration konnte nicht gelesen oder verarbeitet werden.');
33723372
INSERT INTO txt VALUES ('E5301', 'English', 'Error reading or processing Config.');
@@ -5722,14 +5722,12 @@ INSERT INTO txt VALUES ('H5662', 'English', 'Body of decommission emails: Text o
57225722
');
57235723
INSERT INTO txt VALUES ('H5663', 'German', 'Alle Regeln modelliert erwarten: Alle dem Eigentümer zugeordneten Regeln müssen modelliert sein.');
57245724
INSERT INTO txt VALUES ('H5663', 'English', 'Expect all rules as modelled: All rules associated to the owner have to be modelled.');
5725-
INSERT INTO txt VALUES ('H5664', 'German', 'Produktionszyklus: Gibt an, in welchem Produktionszyklus sich der Eigentümer befindet.');
5726-
INSERT INTO txt VALUES ('H5664', 'English', 'Lifecycle State: The lifecycle phase assigned to the owner.');
5727-
INSERT INTO txt VALUES ('H5665', 'German', 'Name: Name des Produktionszyklus');
5728-
INSERT INTO txt VALUES ('H5665', 'English', 'Name: Lifecycle name');
5729-
INSERT INTO txt VALUES ('H5666', 'German', 'In diesem Kapitel können die Produktionszyklen von Eigentümern eingesehen, erstellt, bearbeitet und gelöscht werden. Produktionszyklen definieren den aktuellen Zustand eines Eigentümers (z. B. Geplant, Im Betrieb, Auslaufend).
5730-
');
5731-
INSERT INTO txt VALUES ('H5666', 'English', 'In this chapter, the lifecycle states of owners can be viewed, created, edited, and deleted. Lifecycle states define the current status of an owner (e.g., Planned, In Production, End of Life).
5732-
');
5725+
INSERT INTO txt VALUES ('H5664', 'German', 'Produktionsstatus: Gibt an, in welchem Lifecycle Status sich der Eigentümer befindet.');
5726+
INSERT INTO txt VALUES ('H5664', 'English', 'Production state: The Owner Lifecycle State assigned to the owner.');
5727+
INSERT INTO txt VALUES ('H5665', 'German', 'Name: Name des Produktionsstatus');
5728+
INSERT INTO txt VALUES ('H5665', 'English', 'Name: Owner Lifecycle State name');
5729+
INSERT INTO txt VALUES ('H5666', 'German', 'In diesem Kapitel können die Produktions-Stati von Eigentümern eingesehen, erstellt, bearbeitet und gelöscht werden. Produktions-Stati definieren den aktuellen Zustand eines Eigentümers (z. B. Geplant, Im Betrieb, Auslaufend).');
5730+
INSERT INTO txt VALUES ('H5666', 'English', 'In this chapter, Production Lifecycle States of owners can be viewed, created, edited, and deleted. Production Lifecycle States define the current status of an owner (e.g., Planned, In Production, End of Life).');
57335731

57345732
INSERT INTO txt VALUES ('H5701', 'German', 'Die in der Datenbank hinterlegten sprachabhängigen Texte können individuell überschrieben werden.
57355733
Dabei werden die vom System vorgegebenen Texte nicht geändert, sondern nur durch die hier definierten Texte - falls vorhanden - überblendet.

roles/ui/files/FWO.UI/Pages/Settings/SettingsOwner.razor

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949
@if (userConfig.AllowManualOwnerAdmin)
5050
{
51-
<button type="button" class="btn btn-sm btn-success" @onclick="ManageLifeCycles">@(userConfig.GetText("manage_lifecycles"))</button>
51+
<button type="button" class="btn btn-sm btn-success" @onclick="ManageLifeCycles">@(userConfig.GetText("manage_owner_lc_state"))</button>
5252
}
5353
<br><br>
5454
</div>
@@ -302,7 +302,7 @@
302302
}
303303
</div>
304304
<div class="form-group row mt-2">
305-
<label class="col-sm-3 col-form-label col-form-label-sm" data-toggle="tooltip" title="@(userConfig.PureLine("H5664"))">@(userConfig.GetText("lifecyclestate")):</label>
305+
<label class="col-sm-3 col-form-label col-form-label-sm" data-toggle="tooltip" title="@(userConfig.PureLine("H5664"))">@(userConfig.GetText("owner_lc_state")):</label>
306306
@if (Readonly)
307307
{
308308
<label class="col-sm-5">@(ownerLifeCycleStates.FirstOrDefault(x => x.Id == actOwner.OwnerLifeCycleStateId)?.Name ?? "")</label>
@@ -338,19 +338,19 @@
338338
</Footer>
339339
</PopUp>
340340

341-
<PopUp Title="@(userConfig.GetText("manage_lifecycles"))" HelpPage="settings/ownerlifecycles" Show="@ManageLifeCyclesMode" Size=PopupSize.XLarge OnClose="() => ManageLifeCyclesMode = false">
341+
<PopUp Title="@(userConfig.GetText("manage_owner_lc_state"))" HelpPage="settings/ownerlifecycles" Show="@ManageLifeCyclesMode" Size=PopupSize.XLarge OnClose="() => ManageLifeCyclesMode = false">
342342
<Body>
343343
@if (ManageLifeCyclesMode)
344344
{
345345
<div class="col-sm-12">
346346
<div class="btn-group m-1">
347347
@if (userConfig.AllowManualOwnerAdmin)
348348
{
349-
<button type="button" class="btn btn-sm btn-success" @onclick="AddLifeCycle">@(userConfig.GetText("add_lifecycle"))</button>
349+
<button type="button" class="btn btn-sm btn-success" @onclick="AddLifeCycle">@(userConfig.GetText("add_owner_lc_state"))</button>
350350
}
351351
</div>
352352
<Table class="table table-bordered th-bg-secondary table-responsive overflow-auto sticky-header" TableItem="OwnerLifeCycleState" Items="ownerLifeCycleStates" PageSize="0" ColumnReorder="true">
353-
<Column TableItem="OwnerLifeCycleState" Title="@(userConfig.GetText("lifecycles"))" Field="(x => x.Id)" Sortable="false" Filterable="false">
353+
<Column TableItem="OwnerLifeCycleState" Title="@(userConfig.GetText("owner_lc_states"))" Field="(x => x.Id)" Sortable="false" Filterable="false">
354354
<Template Context="item">
355355
<div class="btn-group">
356356
@if (userConfig.AllowManualOwnerAdmin)
@@ -376,7 +376,7 @@
376376
</Body>
377377
</PopUp>
378378

379-
<PopUp Title="@(userConfig.GetText("edit_lifecycle"))" Show="@EditLifeCycleMode" Size=PopupSize.XLarge OnClose="() => EditLifeCycleMode = false">
379+
<PopUp Title="@(userConfig.GetText("edit_owner_lc_state"))" Show="@EditLifeCycleMode" Size=PopupSize.XLarge OnClose="() => EditLifeCycleMode = false">
380380
<Body>
381381
@if (EditLifeCycleMode)
382382
{
@@ -425,7 +425,7 @@
425425

426426
<SearchUser @bind-Display="SearchMode" AddUser="AddUser" AddGroup="AddGroup" UserSearchMode="UserSearchMode" GroupSearchMode="@(!UserSearchMode)" Title="@(actOwner.Name)" OwnerGroupsOnly="true"/>
427427
<ConfirmDelete @bind-Display="DeleteOwnerMode" PerformAction="DeleteOwner" Title="@userConfig.GetText("delete_owner")" DeleteMessage="@(userConfig.GetText("U5217") + actOwner.Name + "?")"/>
428-
<ConfirmDelete @bind-Display="DeleteLifeCycleMode" PerformAction="DeleteLifeCycle" Title="@userConfig.GetText("delete_lifecycle")" DeleteMessage="@(userConfig.GetText("U5219") + actLifeCycleState.Name + "?")" />
428+
<ConfirmDelete @bind-Display="DeleteLifeCycleMode" PerformAction="DeleteLifeCycle" Title="@userConfig.GetText("delete_owner_lc_state")" DeleteMessage="@(userConfig.GetText("U5219") + actLifeCycleState.Name + "?")" />
429429
<ConfirmDelete @bind-Display="CleanupMode" PerformAction="RemoveSampleData" Title="@userConfig.GetText("remove_sample_data")" DeleteMessage="@cleanupMessage"/>
430430
}
431431
else
@@ -561,7 +561,7 @@ else
561561
{
562562
if (actLifeCycleState.Sanitize())
563563
{
564-
DisplayMessageInUi(null, userConfig.GetText("edit_lifecycle"), userConfig.GetText("U0001"), true);
564+
DisplayMessageInUi(null, userConfig.GetText("edit_owner_lc_state"), userConfig.GetText("U0001"), true);
565565
}
566566
if (CheckValuesLifeCycle())
567567
{
@@ -579,7 +579,7 @@ else
579579
}
580580
catch (Exception exception)
581581
{
582-
DisplayMessageInUi(exception, userConfig.GetText("edit_lifecycle"), "", true);
582+
DisplayMessageInUi(exception, userConfig.GetText("edit_owner_lc_state"), "", true);
583583
}
584584
}
585585

@@ -595,7 +595,7 @@ else
595595
ReturnId[]? returnIds = (await apiConnection.SendQueryAsync<ReturnIdWrapper>(OwnerQueries.newLifeCycle, variables)).ReturnIds; //Next
596596
if (returnIds == null)
597597
{
598-
DisplayMessageInUi(null, userConfig.GetText("add_lifecycle"), userConfig.GetText("E5293"), true);
598+
DisplayMessageInUi(null, userConfig.GetText("add_owner_lc_state"), userConfig.GetText("E5293"), true);
599599
}
600600
else
601601
{
@@ -621,7 +621,7 @@ else
621621
int udId = (await apiConnection.SendQueryAsync<ReturnId>(OwnerQueries.updateLifeCycle, Variables)).UpdatedId; //next
622622
if (udId != actLifeCycleState.Id)
623623
{
624-
DisplayMessageInUi(null, userConfig.GetText("edit_lifecycle"), userConfig.GetText("E5293"), true);
624+
DisplayMessageInUi(null, userConfig.GetText("edit_owner_lc_state"), userConfig.GetText("E5293"), true);
625625
}
626626
else
627627
{
@@ -902,7 +902,7 @@ else
902902
}
903903
catch (Exception exception)
904904
{
905-
DisplayMessageInUi(exception, userConfig.GetText("delete_lifecycle"), "", true);
905+
DisplayMessageInUi(exception, userConfig.GetText("delete_owner_lc_state"), "", true);
906906
}
907907
StateHasChanged();
908908
}
@@ -949,7 +949,7 @@ else
949949
{
950950
if (actLifeCycleState.Name == null || actLifeCycleState.Name == "")
951951
{
952-
DisplayMessageInUi(null, userConfig.GetText("edit_lifecycle"), userConfig.GetText("E5102"), true);
952+
DisplayMessageInUi(null, userConfig.GetText("edit_owner_lc_state"), userConfig.GetText("E5102"), true);
953953
return false;
954954
}
955955
return true;

0 commit comments

Comments
 (0)