Public bug reported:

I think it's not so easy to translate Mahara strings for plural  using array() 
on translations.launchpad.net now.
So it's good for Mahara translators using the standard string definition 
instead of using array() as below.

----------

Langfile:
artefact/file/lang/en.utf8/artefact.file.php

[before]
$string['fileattachedtoportfolioitems'] = array(
    0 => 'This file is attached to %s other item in your portfolio.',
    1 => 'This file is attached to %s other items in your portfolio.',
);

[after]
$string['fileattachedtoportfolioitem'] = 'This file is attached to %s other 
item in your portfolio.';
$string['fileattachedtoportfolioitems'] = 'This file is attached to %s other 
items in your portfolio.';

----------

Langfile:
artefact/file/lang/en.utf8/artefact.file.php

[before]
$string['nprofilepictures'] = array(
    'Profile picture',
    'Profile pictures',
);

[after]
$string['nprofilepicture'] = 'Profile picture';
$string['nprofilepictures'] = 'Profile pictures';

----------

Langfile:
artefact/file/lang/en.utf8/artefact.file.php

[before]
$string['nfolders'] = array(
    '%s folder',
    '%s folders',
);

[after]
$string['nprofilepicture'] = '%s folder';
$string['nprofilepictures'] = '%s folders';

----------

Langfile:
artefact/file/lang/en.utf8/artefact.file.php

[before]
$string['nfiles'] = array(
    '%s file',
    '%s files',
);

[after]
$string['nprofilepicture'] = '%s file';
$string['nprofilepictures'] = '%s files';

----------

Langfile:
lang/en.utf8/mahara.php

[before]
$string['nusers'] = array(
    '1 user',
    '%s users',
);

[after]
$string['nuser'] = '1 user';
$string['nusers'] = '%s users';

----------

Langfile:
lang/en.utf8/view.php

[before]
$string['nviews'] = array(
    '1 page',
    '%s pages',
);

[after]
$string['nview'] = '1 page';
$string['nviews'] = '%s pages';

** Affects: mahara
     Importance: Medium
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/942676

Title:
  Language strings for plural.

Status in Mahara ePortfolio:
  New

Bug description:
  I think it's not so easy to translate Mahara strings for plural  using 
array() on translations.launchpad.net now.
  So it's good for Mahara translators using the standard string definition 
instead of using array() as below.

  ----------

  Langfile:
  artefact/file/lang/en.utf8/artefact.file.php

  [before]
  $string['fileattachedtoportfolioitems'] = array(
      0 => 'This file is attached to %s other item in your portfolio.',
      1 => 'This file is attached to %s other items in your portfolio.',
  );

  [after]
  $string['fileattachedtoportfolioitem'] = 'This file is attached to %s other 
item in your portfolio.';
  $string['fileattachedtoportfolioitems'] = 'This file is attached to %s other 
items in your portfolio.';

  ----------

  Langfile:
  artefact/file/lang/en.utf8/artefact.file.php

  [before]
  $string['nprofilepictures'] = array(
      'Profile picture',
      'Profile pictures',
  );

  [after]
  $string['nprofilepicture'] = 'Profile picture';
  $string['nprofilepictures'] = 'Profile pictures';

  ----------

  Langfile:
  artefact/file/lang/en.utf8/artefact.file.php

  [before]
  $string['nfolders'] = array(
      '%s folder',
      '%s folders',
  );

  [after]
  $string['nprofilepicture'] = '%s folder';
  $string['nprofilepictures'] = '%s folders';

  ----------

  Langfile:
  artefact/file/lang/en.utf8/artefact.file.php

  [before]
  $string['nfiles'] = array(
      '%s file',
      '%s files',
  );

  [after]
  $string['nprofilepicture'] = '%s file';
  $string['nprofilepictures'] = '%s files';

  ----------

  Langfile:
  lang/en.utf8/mahara.php

  [before]
  $string['nusers'] = array(
      '1 user',
      '%s users',
  );

  [after]
  $string['nuser'] = '1 user';
  $string['nusers'] = '%s users';

  ----------

  Langfile:
  lang/en.utf8/view.php

  [before]
  $string['nviews'] = array(
      '1 page',
      '%s pages',
  );

  [after]
  $string['nview'] = '1 page';
  $string['nviews'] = '%s pages';

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/942676/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to