Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Adriano Faria Posted March 5, 2017 Posted March 5, 2017 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.
bfarber Posted March 8, 2017 Posted March 8, 2017 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.
Adriano Faria Posted March 8, 2017 Author Posted March 8, 2017 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.