mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +00:00
replace hard coding strings with translation
This commit is contained in:
parent
b7f20daa26
commit
08008551b9
|
@ -162,6 +162,7 @@ $text = array(
|
||||||
'create_fulltext_index_warning' => "Sie möchten den Volltextindex neu erzeugen. Dies kann beträchtlich Zeit in Anspruch nehmen und Gesamtleistung Ihres System beeinträchtigen. Bestätigen Sie bitte diese Operation.",
|
'create_fulltext_index_warning' => "Sie möchten den Volltextindex neu erzeugen. Dies kann beträchtlich Zeit in Anspruch nehmen und Gesamtleistung Ihres System beeinträchtigen. Bestätigen Sie bitte diese Operation.",
|
||||||
'creation_date' => "Erstellt am",
|
'creation_date' => "Erstellt am",
|
||||||
'current_password' => "Aktuelles Passwort",
|
'current_password' => "Aktuelles Passwort",
|
||||||
|
'current_state' => "Aktueller Status",
|
||||||
'current_version' => "Aktuelle Version",
|
'current_version' => "Aktuelle Version",
|
||||||
'daily' => "täglich",
|
'daily' => "täglich",
|
||||||
'days' => "Tage",
|
'days' => "Tage",
|
||||||
|
@ -863,6 +864,7 @@ $text = array(
|
||||||
'user_name' => "Vollst. Name",
|
'user_name' => "Vollst. Name",
|
||||||
'users' => "Benutzer",
|
'users' => "Benutzer",
|
||||||
'users_and_groups' => "Benutzer/Gruppen",
|
'users_and_groups' => "Benutzer/Gruppen",
|
||||||
|
'users_done_work' => "Bereits aktive Benutzer",
|
||||||
'user' => "Benutzer",
|
'user' => "Benutzer",
|
||||||
'version_deleted_email' => "Version gelöscht",
|
'version_deleted_email' => "Version gelöscht",
|
||||||
'version_deleted_email_subject' => "[sitename]: [name] - Version gelöscht",
|
'version_deleted_email_subject' => "[sitename]: [name] - Version gelöscht",
|
||||||
|
|
|
@ -165,6 +165,7 @@ $text = array(
|
||||||
'create_fulltext_index_warning' => "You are to recreate the fulltext index. This can take a considerable amount of time and reduce your overall system performance. If you really want to recreate the index, please confirm your operation.",
|
'create_fulltext_index_warning' => "You are to recreate the fulltext index. This can take a considerable amount of time and reduce your overall system performance. If you really want to recreate the index, please confirm your operation.",
|
||||||
'creation_date' => "Created",
|
'creation_date' => "Created",
|
||||||
'current_password' => "Current Password",
|
'current_password' => "Current Password",
|
||||||
|
'current_state' => "Current State",
|
||||||
'current_version' => "Current version",
|
'current_version' => "Current version",
|
||||||
'daily' => "Daily",
|
'daily' => "Daily",
|
||||||
'days' => "days",
|
'days' => "days",
|
||||||
|
@ -887,6 +888,7 @@ $text = array(
|
||||||
'user_name' => "Full name",
|
'user_name' => "Full name",
|
||||||
'users' => "Users",
|
'users' => "Users",
|
||||||
'users_and_groups' => "Users/Groups",
|
'users_and_groups' => "Users/Groups",
|
||||||
|
'users_done_work' => "Users done work",
|
||||||
'user' => "User",
|
'user' => "User",
|
||||||
'version_deleted_email' => "Version deleted",
|
'version_deleted_email' => "Version deleted",
|
||||||
'version_deleted_email_subject' => "[sitename]: [name] - Version deleted",
|
'version_deleted_email_subject' => "[sitename]: [name] - Version deleted",
|
||||||
|
|
|
@ -606,17 +606,17 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
echo "<div class=\"row-fluid\">";
|
echo "<div class=\"row-fluid\">";
|
||||||
echo "<div class=\"span8\">";
|
echo "<div class=\"span8\">";
|
||||||
echo "<h5>Current State: ".$workflowstate->getName()."</h5>";
|
echo "<h5>".getMLText('current_state').": ".$workflowstate->getName()."</h5>";
|
||||||
echo "<table class=\"table table-condensed\">\n";
|
echo "<table class=\"table table-condensed\">\n";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>Next state:</td>";
|
echo "<td>".getMLText('next_state').":</td>";
|
||||||
foreach($transitions as $transition) {
|
foreach($transitions as $transition) {
|
||||||
$nextstate = $transition->getNextState();
|
$nextstate = $transition->getNextState();
|
||||||
echo "<td>".$nextstate->getName()."</td>";
|
echo "<td>".$nextstate->getName()."</td>";
|
||||||
}
|
}
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>Action:</td>";
|
echo "<td>".getMLText('action').":</td>";
|
||||||
foreach($transitions as $transition) {
|
foreach($transitions as $transition) {
|
||||||
$action = $transition->getAction();
|
$action = $transition->getAction();
|
||||||
echo "<td>".getMLText('action_'.strtolower($action->getName()), array(), $action->getName())."</td>";
|
echo "<td>".getMLText('action_'.strtolower($action->getName()), array(), $action->getName())."</td>";
|
||||||
|
@ -657,7 +657,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
echo "<tr class=\"success\">";
|
echo "<tr class=\"success\">";
|
||||||
echo "<td>User done work:</td>";
|
echo "<td>".getMLText('users_done_work').":</td>";
|
||||||
foreach($transitions as $transition) {
|
foreach($transitions as $transition) {
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
if($latestContent->executeWorkflowTransitionIsAllowed($transition)) {
|
if($latestContent->executeWorkflowTransitionIsAllowed($transition)) {
|
||||||
|
@ -724,7 +724,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
||||||
* parent workflow
|
* parent workflow
|
||||||
*/
|
*/
|
||||||
if($latestContent->getWorkflowState()->getID() == $state->getID()) {
|
if($latestContent->getWorkflowState()->getID() == $state->getID()) {
|
||||||
echo "Switch from sub workflow '".$workflow->getName()."' into state ".$state->getName()." of parent workflow '".$parentworkflow->getName()."' is possible<br />";
|
echo "Switching from sub workflow '".$workflow->getName()."' into state ".$state->getName()." of parent workflow '".$parentworkflow->getName()."' is possible<br />";
|
||||||
/* Check if the transition from the state where the sub workflow
|
/* Check if the transition from the state where the sub workflow
|
||||||
* starts into the current state is also allowed in the parent
|
* starts into the current state is also allowed in the parent
|
||||||
* workflow. Checking at this point is actually too late, because
|
* workflow. Checking at this point is actually too late, because
|
||||||
|
|
Loading…
Reference in New Issue
Block a user