Skip to content

Commit

Permalink
Fixed bug with the profile text not being translation correctly (geon…
Browse files Browse the repository at this point in the history
…etwork#4774)

* Fixed bug with the profile text not being translation correctly

* Reverted translation on the core files as this will be done via Transifex

* Reverted translation on the admin files as this will be done via Transifex
  • Loading branch information
ianwallen authored Sep 29, 2020
1 parent e3763d0 commit 1f55152
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion web-ui/src/main/resources/catalog/locales/en-admin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"Administrator": "Administrator",
"NEW": "New",
"abstract": "Abstract",
"accessConstraints": "Access constraints",
Expand Down
1 change: 1 addition & 0 deletions web-ui/src/main/resources/catalog/locales/en-core.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Administrator": "Administrator",
"all": "all",
"allInPage": "all in page",
"addToSelection": "Add to ...",
Expand Down
4 changes: 2 additions & 2 deletions web-ui/src/main/resources/catalog/templates/top-toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
data-ng-src="../api/users/{{(user.id)}}.png?size=18"/>
<div class="gn-user-info hidden-sm hidden-md">
<span class="gn-user-name">{{user.name}} {{user.surname}}</span><br>
<span class="gn-user-role">{{user.profile | lowercase | translate}}</span>
<span class="gn-user-role">{{user.profile | translate}}</span>
</div>
<span class="alert alert-danger ng-hide"
data-ng-show="session.remainingTime > 0 &&
Expand All @@ -185,7 +185,7 @@
</li>
<li class="dropdown-header hidden-xs" role="menuitem" translate>profile</li>
<li class="hidden-xs" role="menuitem">
<a data-gn-active-tb-item="{{gnCfg.mods.admin.appUrl}}#/organization/users?userOrGroup={{user.username}}">{{user.profile | lowercase | translate}}</a>
<a style="text-transform: lowercase" data-gn-active-tb-item="{{gnCfg.mods.admin.appUrl}}#/organization/users?userOrGroup={{user.username}}">{{user.profile | translate}}</a>
</li>
<li role="separator" class="divider hidden-xs"></li>
<li role="menuitem">
Expand Down

0 comments on commit 1f55152

Please sign in to comment.