[glotpress-updates] [GlotPress] #372: Merge similar strings to reduce .po/.mo file size

GlotPress noreply at wordpress.org
Fri Nov 21 22:46:17 UTC 2014


#372: Merge similar strings to reduce .po/.mo file size
---------------------+-----------------------------
 Reporter:  ramiy    |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  Awaiting Review
Component:  General  |    Version:
 Keywords:           |
---------------------+-----------------------------
 '''Welcome %s!'''
 * gp-includes/backpress/pomo/sample/app.php:56
 * pomo/sample/app.php:56

 '''Welcome, %s!'''
 * gp-includes/routes/login.php:26

 ----

 '''Not Found'''
 * gp-includes/route.php:192
 * gp-includes/template.php:62
 * gp-templates/404.api.php:3

 '''Not found'''
 * gp-templates/404.php:5

 ----

 '''Login'''
 * gp-includes/template-links.php:80
 * gp-templates/login.php:2
 * gp-templates/login.php:4
 * gp-templates/login.php:8
 * gp-templates/login.php:18

 '''Log in'''
 * gp-templates/header.php:31

 '''Log out'''
 * gp-templates/header.php:29

 ----

 '''Invalid Taxonomy'''
 * gp-includes/backpress/class.wp-taxonomy.php:226
 * gp-includes/backpress/class.wp-taxonomy.php:299
 * gp-includes/backpress/class.wp-taxonomy.php:408
 * gp-includes/backpress/class.wp-taxonomy.php:586
 * gp-includes/backpress/class.wp-taxonomy.php:1171
 * gp-includes/backpress/class.wp-taxonomy.php:1405

 '''Invalid taxonomy'''
 * gp-includes/backpress/class.wp-taxonomy.php:1305
 * gp-includes/backpress/class.wp-taxonomy.php:1554

 ----

 '''Import Translations'''
 * gp-templates/project-import.php:9

 '''Import translations'''
 * gp-templates/translations.php:196

 ----

 '''Import Originals'''
 * gp-templates/project-import.php:9

 '''Import originals'''
 * gp-includes/template.php:299

 ----

 '''Import'''
 * gp-templates/glossary-import.php:22
 * gp-templates/glossary-view.php:96
 * gp-templates/project-import.php:23

 '''import'''
 * gp-templates/glossary-import.php:7

 ----

 '''Glossary'''
 * gp-templates/glossary-edit.php:6
 * gp-templates/glossary-import.php:6
 * gp-templates/glossary-view.php:6

 '''glossary'''
 * gp-templates/translations.php:25

 ----

 '''Edit'''
 * gp-includes/template-links.php:48
 * gp-includes/template-links.php:92
 * gp-includes/template-links.php:106

 '''edit'''
 * gp-templates/glossary-edit.php:7

 ----

 '''Create Glossary'''
 * gp-templates/glossary-new.php:6

 '''Create glossary'''
 * gp-templates/translations.php:27

 ---

 '''Branch Project'''
 * gp-includes/template.php:304

 '''Branch project'''
 * gp-templates/project-branch.php:27

 ----

 '''_n( "%s translation were added\n", "%s translations were added\n",
 $added )'''
 * scripts/import.php:16

 '''_("%s translations were added")'''
 * gp-includes/routes/translation.php:63


 '''Note:''' use _n() in both places to merge those strings.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/372>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list