You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/makephp.feature
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -204,3 +204,58 @@ Feature: Generate PHP files from PO files
204
204
"""
205
205
return ['domain'=>'foo-plugin','plural-forms'=>'nplurals=2; plural=(n != 1);','language'=>'de_DE','project-id-version'=>'Foo Plugin','pot-creation-date'=>'2018-05-02T22:06:24+00:00','po-revision-date'=>'2018-05-02T22:06:24+00:00','messages'=>['Plugin NameFoo Plugin (EN)'=>'Foo Plugin (DE)','Foo Plugin'=>'Bar Plugin','You have %d new message'=>'Sie haben %d neue Nachricht' . "\0" . 'Sie haben %d neue Nachrichten']];
206
206
"""
207
+
208
+
Scenario: Excludes strings without translations
209
+
Given an empty foo-plugin directory
210
+
And a foo-plugin/foo-plugin-de_DE.po file:
211
+
"""
212
+
# Copyright (C) 2018 Foo Plugin
213
+
# This file is distributed under the same license as the Foo Plugin package.
0 commit comments