Move text into translations
This commit is contained in:
parent
e35399d8f5
commit
0745539853
@ -35,7 +35,7 @@
|
||||
<td>{{ user.dod_id }}</td>
|
||||
<td>
|
||||
<a v-on:click="openModal('{{ modal_id }}')" class='usa-button {{ disable_button_class }}'>
|
||||
Disable
|
||||
{{ "common.disable" | translate }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -58,7 +58,7 @@
|
||||
{{
|
||||
Alert(
|
||||
title=("components.modal.destructive_title" | translate),
|
||||
message="Confirm removing CCPO superuser access from {}".format(user.full_name),
|
||||
message=("ccpo.disable_user.alert_message" | translate("user_name": user.full_name)),
|
||||
level="warning"
|
||||
)
|
||||
}}
|
||||
@ -76,7 +76,7 @@
|
||||
<div class="action-group">
|
||||
<form method="POST" action="{{ url_for('ccpo.remove_ccpo_access', user_id=user.id)}}">
|
||||
<button class="usa-button button-danger" v-bind:disabled="!valid">
|
||||
Remove Access
|
||||
{{ 'ccpo.disable_user.remove_button' | translate }}
|
||||
</button>
|
||||
</form>
|
||||
<div class="action-group">
|
||||
|
@ -37,6 +37,9 @@ ccpo:
|
||||
return_link: Return to list of CCPO users
|
||||
user_not_found_title: User not found
|
||||
user_not_found_text: To add someone as a CCPO user, they must already have an ATAT account.
|
||||
disable_user:
|
||||
alert_message: "Confirm removing CCPO superuser access from {user_name}"
|
||||
remove_button: Remove Access
|
||||
common:
|
||||
cancel: Cancel
|
||||
close: Close
|
||||
@ -46,6 +49,7 @@ common:
|
||||
deactivate: Deactivate
|
||||
delete_confirm: 'Please type the word {word} to confirm:'
|
||||
dod_id: DoD ID
|
||||
disable: Disable
|
||||
edit: Edit
|
||||
email: Email
|
||||
members: Members
|
||||
|
Loading…
x
Reference in New Issue
Block a user