Skip to content

Commit 3153017

Browse files
committed
feat: update translations for pipeline gitlab
1 parent ebb3dfa commit 3153017

File tree

9 files changed

+25
-5
lines changed

9 files changed

+25
-5
lines changed

lang/de/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
'confidential' => 'Confidential',
1212
'status' => 'Status',
1313
'link' => 'Link',
14+
'repo' => 'Repository',
1415
];

lang/de/events/gitlab/pipeline.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Pipeline Status Update',
5+
];

lang/en/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
'confidential' => 'Confidential',
1212
'status' => 'Status',
1313
'link' => 'Link',
14+
'repo' => 'Repository',
1415
];

lang/en/events/gitlab/pipeline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

33
return [
4-
'default' => 'Here is the default message for pipeline',
4+
'title' => 'Pipeline Status Update',
55
];

lang/ja/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
'confidential' => 'Confidential',
1212
'status' => 'Status',
1313
'link' => 'Link',
14+
'repo' => 'Repository',
1415
];

lang/ja/events/gitlab/pipeline.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Pipeline Status Update',
5+
];

lang/vi/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
'confidential' => 'Bí mật',
1212
'status' => 'Trạng thái',
1313
'link' => 'Liên kết',
14+
'repo' => 'Kho',
1415
];

lang/vi/events/gitlab/pipeline.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
return [
4+
'title' => 'Cập nhật trạng thái Pipeline',
5+
];

resources/views/events/gitlab/pipeline/default.blade.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
*/
66
77
?>
8-
🔥 {{ __('tg-notifier::events/gitlab/merge_request.default') }}
98

10-
🛠 <a href="{{ $payload->project->web_url }}">{{ $payload->project->path_with_namespace }}</a>
9+
🦊 {{ __('tg-notifier::events/gitlab/pipeline.title') }} 🔥
10+
11+
🚀 {{ __('tg-notifier::app.repo') }}: <a href="{{ $payload->project->web_url }}">{{ $payload->project->path_with_namespace }}</a>
1112
🌳 {{ __('tg-notifier::app.branch') }}: <code>{{ $payload->object_attributes->ref }}</code>
12-
📝 {{ __('tg-notifier::app.commit') }}: <code>{{ $payload->commit->message }}</code>
13+
💻 {{ __('tg-notifier::app.commit') }}: <code>{{ $payload->commit->message }}</code>
1314
🔗 {{ __('tg-notifier::app.link') }}: <a href="{{ $payload->commit->url }}">{{ $payload->commit->id }}</a>
14-
🚦 {{ __('tg-notifier::app.status') }}: <code>{{ $payload->object_attributes->status }}</code>
15+
🚦 {{ __('tg-notifier::app.status') }}: Pipeline <code>{{ $payload->object_attributes->status }}</code> ⏱️ {{ $payload->object_attributes->duration }}s

0 commit comments

Comments
 (0)