Skip to content

Commit

Permalink
Update translationtool to ignore compiled files - see nextcloud/serve…
Browse files Browse the repository at this point in the history
…r#9799

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Jun 27, 2018
1 parent 52fa6b8 commit ea5ff0b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions translations/translationtool/src/translationtool.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ public function __construct($appPath, $translationsPath) {
$this->dummyFileName = $this->appPath . '/specialAppInfoFakeDummyForL10nScript.php';

$this->setAppName();

switch ($this->name) {
case 'updatenotification':
$this->ignoreFiles[] = 'js/merged.js';
break;
case 'oauth2':
$this->ignoreFiles[] = 'js/oauth2.js';
break;
case 'settings':
$this->ignoreFiles[] = 'js/settings-vue.js';
break;
}
}

public function createPotFile() {
Expand Down
Binary file modified translations/translationtool/translationtool.phar
Binary file not shown.

0 comments on commit ea5ff0b

Please sign in to comment.