no constant for 'reason'
no constant for 'reason'
1 year 3 months ago
I found a non-translated 'reason' for editing a message in a pop-up. There is no constant available.
You might even hide the pop-up since the other text strings are clear enough
Can I change it? If so where and what code.
You might even hide the pop-up since the other text strings are clear enough
Can I change it? If so where and what code.
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
They should be present in Kunena language files.
Did you turn on debug language - constants by accident? Then you don't see translated text.
Did you turn on debug language - constants by accident? Then you don't see translated text.
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
On purpose I turned on the debug language - constants to show that 'reason' in the pop-up has no constant, so it will never get a translation.
The COM_KUNENA_REASON (Reden) does exist in the language file.
Maybe you have noticed that the pop-up has no starting capital letter.
The COM_KUNENA_REASON (Reden) does exist in the language file.
Maybe you have noticed that the pop-up has no starting capital letter.
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
Hi Han,
You can see the above two language strings in the en-GB.com_kunena.templates.ini file (components/com_kunena/language/en-GB). Copy to your language files and translate them.
Regards,
You can see the above two language strings in the en-GB.com_kunena.templates.ini file (components/com_kunena/language/en-GB). Copy to your language files and translate them.
Regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Email: 9themestore@gmail.com
Twitter: @9themestore
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago - 1 year 3 months ago
The word reason is hardcoded in the template (but in Aurelia it's the same).
Code:
<input class="form-control" name="modified_reason" maxlength="200" type="text" value="<?php echo $this->modified_reason; ?>"
data-bs-toggle="tooltip" title="reason" placeholder="<?php echo Text::_('COM_KUNENA_EDITING_ENTER_REASON') ?>" />
Last edit: 1 year 3 months ago by Joomla!NL.
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
Joomla!NL
maybe that you make an issue in the Kunena forum?
maybe that you make an issue in the Kunena forum?
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
It should be changed in KBee (and other NTS templates). I already made an override in KPraxis myself.
People using Aurelia should raise this issue themselves.
People using Aurelia should raise this issue themselves.
Please Log in or Create an account to join the conversation.
Re: no constant for 'reason'
1 year 3 months ago
Hi Hung Pham,
can you fix the hard-coded item 'reason' ? (low priority!)
After the update I like the pop-ups much better; they are not so dominant in the black color.
can you fix the hard-coded item 'reason' ? (low priority!)
After the update I like the pop-ups much better; they are not so dominant in the black color.
Please Log in or Create an account to join the conversation.
Time to create page: 0.501 seconds