Skip to content

Commit

Permalink
Translations added for #253
Browse files Browse the repository at this point in the history
  • Loading branch information
mikron-ia committed Oct 3, 2023
1 parent ae32126 commit 2f8fb6b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions common/messages/en/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,11 @@
'SCENARIO_TECHNICAL_DETAILS' => 'Technical details',
'SCENARIO_TITLE_CREATE' => 'Create scenario',
'SCENARIO_TITLE_UPDATE' => 'Modify scenario',
'SCRIBBLE_ID' => 'ID',
'SCRIBBLE_IS_FAVORITE' => 'Favorited?',
'SCRIBBLE_PACK' => 'Pack of scribbles',
'SCRIBBLE_PACK_CLASS' => 'Class',
'SCRIBBLE_PACK_ID' => 'ID',
'SEEN_ALERT' => 'Alert threshold',
'SEEN_BEFORE_UPDATE' => 'Modified for:',
'SEEN_ID' => 'ID',
Expand Down
5 changes: 5 additions & 0 deletions common/messages/pl/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,11 @@
'SCENARIO_TECHNICAL_DETAILS' => 'Szczegóły techniczne',
'SCENARIO_TITLE_CREATE' => 'Dodaj scenariusz',
'SCENARIO_TITLE_UPDATE' => 'Zmień scenariusz',
'SCRIBBLE_ID' => 'ID',
'SCRIBBLE_IS_FAVORITE' => 'Ulubione?',
'SCRIBBLE_PACK' => 'Paczka zapisków',
'SCRIBBLE_PACK_CLASS' => 'Klasa',
'SCRIBBLE_PACK_ID' => 'ID',
'SEEN_ALERT' => 'Próg sygnalizacji',
'SEEN_BEFORE_UPDATE' => 'Zmienione dla:',
'SEEN_ID' => 'ID',
Expand Down
8 changes: 4 additions & 4 deletions common/models/Scribble.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public function rules(): array
public function attributeLabels()
{
return [
'scribble_id' => Yii::t('app', 'Scribble ID'),
'scribble_pack_id' => Yii::t('app', 'Scribble Pack ID'),
'user_id' => Yii::t('app', 'User ID'),
'favorite' => Yii::t('app', 'Favorite'),
'scribble_id' => Yii::t('app', 'SCRIBBLE_ID'),
'scribble_pack_id' => Yii::t('app', 'SCRIBBLE_PACK'),
'user_id' => Yii::t('app', 'USER_LABEL'),
'favorite' => Yii::t('app', 'SCRIBBLE_IS_FAVORITE'),
];
}

Expand Down

0 comments on commit 2f8fb6b

Please sign in to comment.