Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use x-generator as the header name
  • Loading branch information
swissspidy committed Sep 23, 2023
commit 30eba58220029d37161996d56e0bdd6abe14250e
2 changes: 1 addition & 1 deletion gp-includes/formats/format-php.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class GP_Format_PHP extends GP_Format {
*/
public function print_exported_file( $project, $locale, $translation_set, $entries ) {
$result = array(
'generator' => 'GlotPress/' . GP_VERSION,
'x-generator' => 'GlotPress/' . GP_VERSION,
'translation-revision-date' => GP::$translation->last_modified( $translation_set ) . '+0000',
'plural-forms' => "nplurals=$locale->nplurals; plural=$locale->plural_expression;",
'messages' => array(),
Expand Down