LLMS_Add_On::get_l10n( $string )

Translate strings


Description Description


Parameters Parameters

$status

(string) (Required) untranslated string / key


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/models/model.llms.add-on.php

	public function get_l10n( $string ) {

		$strings = array(

			'active' => __( 'Active', 'lifterlms' ),
			'inactive' => __( 'Inactive', 'lifterlms' ),

			'installed' => __( 'Installed', 'lifterlms' ),
			'uninstalled' => __( 'Not Installed', 'lifterlms' ),

			'activate' => __( 'Activate', 'lifterlms' ),
			'deactivate' => __( 'Deactivate', 'lifterlms' ),
			'install' => __( 'Install', 'lifterlms' ),

			'none' => __( 'N/A', 'lifterlms' ),

			'license_active' => __( 'Licensed', 'lifterlms' ),
			'license_inactive' => __( 'Unlicensed', 'lifterlms' ),

		);

		return $strings[ $string ];

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.22.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: