Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 5, 20177 yr Can you move the lang bit cf_topic from Downloads to Core, as already happens with pf_format lang bit? if ( \IPS\Application::appIsEnabled( 'forums' ) ) { $form->addHeader('quizzes_category_forums_integration'); $form->add( new \IPS\Helpers\Form\YesNo( 'cf_topic', $this->topic ) ); $form->add( new \IPS\Helpers\Form\TextArea( 'pf_format', $this->id ? $this->topic_format : '', FALSE, array( 'placeholder' => "<strong>{title}:</strong> {content}" ) ) ); } The way it isnow we need to rename the cf_topic field in all apps we use extra fields and add a lang bit; we don't need to do that with pf_format because the lang bit is in Core. Thank you.
March 8, 20177 yr cf_topic This language string is not used by the core, or by multiple (first party) applications. To that end, it doesn't make sense for us to ship it with the core I'm afraid. You can add custom language strings with both applications and plugins, so you shouldn't have any trouble defining new language strings as needed.
March 8, 20177 yr Author Just now, bfarber said: This language string is not used by the core I know and that's why I'm asking to add it to the Core. pf_format is also only used in Downloads and it is in Core. So why not to add the other ? That would avoid change the field name in every app.
Archived
This topic is now archived and is closed to further replies.