Skip to content

Commit b469e8b

Browse files
committed
fix: update push and note translations
1 parent 6a22e26 commit b469e8b

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

lang/de/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
89
];

lang/en/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
89
];

lang/ja/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
'unknown_callback' => 'Unknown Callback. Something went wrong!',
66
'invalid_request' => 'Invalid Request!',
77
'branch' => 'Branch',
8+
'commit' => 'Commit',
89
];

lang/vi/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
'unknown_callback' => 'Không rõ Callback. Đã xảy ra lỗi!',
66
'invalid_request' => 'Yêu cầu không hợp lệ!',
77
'branch' => 'Tên nhánh',
8+
'commit' => 'Commit',
89
];

resources/views/events/gitlab/note/commit.blade.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77
?>
88
💬 {!! __('tg-notifier::events/gitlab/note.title.commit', [
99
'repo' => "🦊<a href='{$payload->object_attributes->url}'>{$payload->project->path_with_namespace}</a>",
10-
'user' => "<b>{$payload->user->name}</b>"
10+
'user' => "<code>{$payload->user->name}</code>"
1111
]
1212
) !!}
1313

14-
⚙️ <b>{{ $payload->commit->message }}</b>
15-
14+
⚙️ {{ __('tg-notifier::app.commit') }}: <code>{{ $payload->commit->message }}</code>
1615
🔗 {!! __('tg-notifier::events/gitlab/note.view_comment', [
1716
'link' => "<a href='{$payload->object_attributes->url}'>{$payload->commit->id}</a>"
1817
]
1918
) !!}
20-
2119
@include('tg-notifier::events.shared.partials.gitlab._body', compact('payload', 'event'))

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
'commit_message' => $commit->message,
3535
'commit_by' => $commit->author->name,
3636
]) !!}
37-
3837
@endforeach
3938
@endif
4039

0 commit comments

Comments
 (0)