no constant for 'reason'
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.
Post by Han
Please Log in or Create an account to join the conversation.
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.
Post by Joomla!NL
Please Log in or Create an account to join the conversation.
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.
Post by Han
Please Log in or Create an account to join the conversation.
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
Post by ntstore
Please Log in or Create an account to join the conversation.
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:7 months 4 weeks ago
Post by Joomla!NL
Last edit: 7 months 4 weeks ago by Joomla!NL.
Please Log in or Create an account to join the conversation.
Joomla!NL
maybe that you make an issue in the Kunena forum?
maybe that you make an issue in the Kunena forum?
Post by Han
Please Log in or Create an account to join the conversation.
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.
Post by Joomla!NL
Please Log in or Create an account to join the conversation.
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.
Post by Han
Please Log in or Create an account to join the conversation.
Time to create page: 0.649 seconds