Jump to content

Extra fields language: cf_topic from Downloads to Core


Recommended Posts

Posted

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.

Posted
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.

Posted
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...