mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
trans
This commit is contained in:
parent
1b8eac4be3
commit
136b6836e5
@ -179,7 +179,7 @@ function dropdownRow(id, type) {
|
||||
|
||||
dropdown += `
|
||||
<li class="dropdown-submenu dropleft">
|
||||
<button type="button" class="btn dropdown-item dropdown-toggle">Change Status</button>
|
||||
<button type="button" class="btn dropdown-item dropdown-toggle">${changeStatusTrans}</button>
|
||||
<ul class="dropdown-menu">
|
||||
${statusItems}
|
||||
</ul>
|
||||
|
||||
@ -468,6 +468,7 @@ return [
|
||||
'update' => 'Update',
|
||||
'change_password' => 'Change Password',
|
||||
'choose_an_option' => 'Choose an option...',
|
||||
'change_status' => 'Change Status',
|
||||
|
||||
// Register page
|
||||
'accept_terms_label' => 'I accept the terms.',
|
||||
|
||||
@ -77,6 +77,7 @@
|
||||
let userStatus = JSON.parse(`{{ userStatus|raw }}`)
|
||||
let statusChangeLink = `{{ changeStatusUrl }}`
|
||||
let dropdownBlock = `{{ addBlock('profile/dropdown-ad', {'id': ':id'})|raw }}`
|
||||
var changeStatusTrans = "{{ trans('visiosoft.module.profile::field.change_status') }}";
|
||||
</script>
|
||||
{{ asset_add('scripts.js','visiosoft.module.profile::assets/js/ads.js') }}
|
||||
{% endblock %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user