1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Add a pirate translation

Summary: Basic Pirate, mostly Maniphest

Test Plan: Play lots with Maniphest

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14830
This commit is contained in:
Chad Little 2015-12-20 07:03:07 -08:00
parent 8a81d208c4
commit 006321cce7
2 changed files with 67 additions and 0 deletions

View file

@ -2749,6 +2749,7 @@ phutil_register_library_map(array(
'PhabricatorPhurlURLTransactionComment' => 'applications/phurl/storage/PhabricatorPhurlURLTransactionComment.php',
'PhabricatorPhurlURLTransactionQuery' => 'applications/phurl/query/PhabricatorPhurlURLTransactionQuery.php',
'PhabricatorPhurlURLViewController' => 'applications/phurl/controller/PhabricatorPhurlURLViewController.php',
'PhabricatorPirateEnglishTranslation' => 'infrastructure/internationalization/translation/PhabricatorPirateEnglishTranslation.php',
'PhabricatorPlatformSite' => 'aphront/site/PhabricatorPlatformSite.php',
'PhabricatorPolicies' => 'applications/policy/constants/PhabricatorPolicies.php',
'PhabricatorPolicy' => 'applications/policy/storage/PhabricatorPolicy.php',
@ -7014,6 +7015,7 @@ phutil_register_library_map(array(
'PhabricatorPhurlURLTransactionComment' => 'PhabricatorApplicationTransactionComment',
'PhabricatorPhurlURLTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorPhurlURLViewController' => 'PhabricatorPhurlController',
'PhabricatorPirateEnglishTranslation' => 'PhutilTranslation',
'PhabricatorPlatformSite' => 'PhabricatorSite',
'PhabricatorPolicies' => 'PhabricatorPolicyConstants',
'PhabricatorPolicy' => array(

View file

@ -0,0 +1,65 @@
<?php
final class PhabricatorPirateEnglishTranslation
extends PhutilTranslation {
public function getLocaleCode() {
return 'en_P*';
}
protected function getTranslations() {
return array(
'Search' => 'Scour',
'Review Code' => 'Inspect Riggins',
'Tasks and Bugs' => 'Bilge rats',
'Cancel' => 'Belay',
'Advanced Search' => 'Scour Hard',
'No search results.' => 'We be finding nothin.',
'Send' => 'Aye!',
'Partial' => 'Parrtial',
'Upload' => 'Hoist',
'Partial Upload' => 'Parrtial Hoist',
'Submit' => 'Aye!',
'Create' => 'Make Sail',
'Okay' => 'Ahoy!',
'Edit Query' => 'Overhaul Query',
'Hide Query' => 'Furl Query',
'Execute Query' => 'Quarter Query',
'Wiki' => 'Sea Log',
'Blog' => 'Capn\'s Tales',
'Add Action...' => 'Be Addin\' an Action...',
'Change Subscribers' => 'Change Spies',
'Change Projects' => 'Change Prrojects',
'Change Priority' => 'Change Priarrrity',
'Change Status' => 'Change Ye Status',
'Assign / Claim' => 'Arrsign / Stake Claim',
'Prototype' => 'Ramshackle',
'Continue' => 'Set Sail',
'Recent Activity' => 'Recent Plunderin\'s',
'Browse and Audit Commits' => 'Inspect ye Work of Yore',
'Upcoming Events' => 'Upcoming Pillages',
'Get Organized' => 'Straighten yer gig',
'Host and Browse Repositories' => 'Hide ye Treasures',
'Chat with Others' => 'Parley with yer Mates',
'Review Recent Activity' => 'Spy ye Freshest Bottles',
'Comment' => 'Scrawl',
'Actions' => 'Actions! Arrr!',
'Title' => 'Ye Olde Title',
'Assigned To' => 'Matey Assigned',
'Status' => 'Ye Status',
'Priority' => 'Priarrrity',
'Description' => 'Splainin\'',
'Visible To' => 'Bein\' Spied By',
'Editable By' => 'Plunderable By',
'Subscribers' => 'Spies',
'Projects' => 'Prrojects',
'%s added a comment.' => '%s scrawled.',
'%s edited the task description.' =>
'Capn %s be stakin\' a claim on this here task.',
'%s claimed this task.' =>
'Capn %s be updatin\' ye task\'s splainin.',
'%s created this task.' =>
'Capn %s be the one creatin\' this here task.',
);
}
}