You are here

function l10n_client_permission in Localization client 7

Implement hook_permission().

File

./l10n_client.module, line 62
Localization client. Provides on-page translation editing.

Code

function l10n_client_permission() {
  return array(
    'use on-page translation' => array(
      'title' => t('Use on-page translation'),
      'description' => t('Makes it possible to translate the Drupal interface on-page.'),
    ),
    'submit translations to localization server' => array(
      'title' => t('Submit translations to localization server'),
      'description' => t('Allows users to submit translations to a remote localization server.'),
    ),
  );
}