More organizing for translations

This commit is contained in:
Nabeel Shahzad
2018-05-21 11:55:40 -05:00
parent 36dcd61feb
commit 0a7f002217
48 changed files with 393 additions and 410 deletions

View File

@@ -19,12 +19,12 @@ class PirepState extends Enum
public const DRAFT = 5;
protected static $labels = [
PirepState::REJECTED => 'system.pireps.state.rejected',
PirepState::IN_PROGRESS => 'system.pireps.state.in_progress',
PirepState::PENDING => 'system.pireps.state.pending',
PirepState::ACCEPTED => 'system.pireps.state.accepted',
PirepState::CANCELLED => 'system.pireps.state.cancelled',
PirepState::DELETED => 'system.pireps.state.deleted',
PirepState::DRAFT => 'system.pireps.state.draft',
PirepState::REJECTED => 'pireps.state.rejected',
PirepState::IN_PROGRESS => 'pireps.state.in_progress',
PirepState::PENDING => 'pireps.state.pending',
PirepState::ACCEPTED => 'pireps.state.accepted',
PirepState::CANCELLED => 'pireps.state.cancelled',
PirepState::DELETED => 'pireps.state.deleted',
PirepState::DRAFT => 'pireps.state.draft',
];
}