Update t() calls
Update all t() calls.
This commit is contained in:
parent
3ae390c6ee
commit
f8c162cbfb
77 changed files with 1043 additions and 968 deletions
|
@ -7,6 +7,7 @@
|
|||
* Author: Tony Baldwin <https://free-haven.org/profile/tony>
|
||||
*/
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
|
||||
function planets_install() {
|
||||
|
@ -148,22 +149,22 @@ function planets_settings(&$a,&$s) {
|
|||
/* Add some HTML to the existing form */
|
||||
|
||||
$s .= '<span id="settings_planets_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_planets_expanded\'); openClose(\'settings_planets_inflated\');">';
|
||||
$s .= '<h3>' . t('Planets') . '</h3>';
|
||||
$s .= '<h3>' . L10n::t('Planets') . '</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_planets_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_planets_expanded\'); openClose(\'settings_planets_inflated\');">';
|
||||
$s .= '<h3>' . t('Planets') . '</h3>';
|
||||
$s .= '<h3>' . L10n::t('Planets') . '</h3>';
|
||||
$s .= '</span>';
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<h3>' . t('Planets Settings') . '</h3>';
|
||||
$s .= '<h3>' . L10n::t('Planets Settings') . '</h3>';
|
||||
$s .= '<div id="planets-enable-wrapper">';
|
||||
$s .= '<label id="planets-enable-label" for="planets-checkbox">' . t('Enable Planets Addon') . '</label>';
|
||||
$s .= '<label id="planets-enable-label" for="planets-checkbox">' . L10n::t('Enable Planets Addon') . '</label>';
|
||||
$s .= '<input id="planets-checkbox" type="checkbox" name="planets" value="1" ' . $checked . '/>';
|
||||
$s .= '</div><div class="clear"></div></div>';
|
||||
|
||||
/* provide a submit button */
|
||||
|
||||
$s .= '<div class="settings-submit-wrapper" ><input type="submit" name="planets-submit" class="settings-submit" value="' . t('Save Settings') . '" /></div></div>';
|
||||
$s .= '<div class="settings-submit-wrapper" ><input type="submit" name="planets-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div></div>';
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue