Skip to content

Commit

Permalink
fix: update translation and the view of the push event
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed May 4, 2024
1 parent c36cb4a commit 31004ea
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion lang/de/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
10 changes: 5 additions & 5 deletions lang/de/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b><code>:name</code></b> ✨ ',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b><code>:name</code></b> ❌',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b><code>:name</code></b> ❌ ',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b><code>:name</code></b> ❌",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b><code>:name</code></b> ⏳',
'body' => 'Running workflow: 💥 <code>:name</code> ⏳',
],
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
Expand Down
2 changes: 1 addition & 1 deletion lang/en/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
10 changes: 5 additions & 5 deletions lang/en/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b><code>:name</code></b> ✨ ',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b><code>:name</code></b> ❌',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b><code>:name</code></b> ❌ ',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b><code>:name</code></b> ❌",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b><code>:name</code></b> ⏳',
'body' => 'Running workflow: 💥 <code>:name</code> ⏳',
],
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
Expand Down
2 changes: 1 addition & 1 deletion lang/ja/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
10 changes: 5 additions & 5 deletions lang/ja/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b><code>:name</code></b> ✨ ',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b><code>:name</code></b> ❌',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b><code>:name</code></b> ❌ ',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b><code>:name</code></b> ❌",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b><code>:name</code></b> ⏳',
'body' => 'Running workflow: 💥 <code>:name</code> ⏳',
],
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
Expand Down
2 changes: 1 addition & 1 deletion lang/vi/events/github/push.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
'default' => [
'title' => '👷⚙️ <b>:count</b> new :noun to 🦊<b>:repo:<code>:branch</code></b>',
'commit' => '[:commit] :commit_message - by <i>:commit_by</i>',
'pusher' => '👤 Pushed by : <b>:name</b>',
'pusher' => 'Pushed by',
],
];
10 changes: 5 additions & 5 deletions lang/vi/events/github/workflow_run.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
'completed' => [
'success' => [
'title' => '🎉 <b>Workflow Completed</b> from 🦑 :repo',
'body' => 'Done workflow: 🎉 <b><code>:name</code></b> ✨ ',
'body' => 'Done workflow: 🎉 <code>:name</code> ✨ ',
],
'failure' => [
'title' => '🚫 <b>Workflow Failed</b> from 🦑:repo',
'body' => 'Failed workflow: 🚫 <b><code>:name</code></b> ❌',
'body' => 'Failed workflow: 🚫 <code>:name</code> ❌',
],
'cancelled' => [
'title' => '❌ <b>Workflow Cancelled</b> from 🦑 :repo',
'body' => 'Cancelled workflow: 🚨 <b><code>:name</code></b> ❌ ',
'body' => 'Cancelled workflow: 🚨 <code>:name</code> ❌ ',
],
'default' => [
'title' => "🚨 <b>Workflow Can't Success</b> from 🦑:repo",
'body' => "Can't Success workflow: 🚨 <b><code>:name</code></b> ❌",
'body' => "Can't Success workflow: 🚨 <code>:name</code> ❌",
],
],
'requested' => [
'title' => ' <b>Workflow Requested</b> from 🦑:repo',
'body' => 'Running workflow: 💥 <b><code>:name</code></b> ⏳',
'body' => 'Running workflow: 💥 <code>:name</code> ⏳',
],
'link' => 'Workflow run link: :link',
'display_title' => 'Title',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/events/github/push/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
) !!}
@endforeach

{!! __('tg-notifier::events/github/push.default.pusher', ['name' => $payload->pusher->name]) !!}
👤 {!! __('tg-notifier::events/github/push.default.pusher') !!} : <code>{{ $payload->pusher->name }}</code>
2 changes: 1 addition & 1 deletion resources/views/events/github/star/created.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
]
) !!}

👤 {!! __('tg-notifier::events/github/star.created.seeder') !!}: <b><code>{{ $payload->sender->login }}</code></b> 👀
👤 {!! __('tg-notifier::events/github/star.created.seeder') !!}: <code>{{ $payload->sender->login }}</code> 👀
2 changes: 1 addition & 1 deletion resources/views/events/github/star/deleted.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
]
) !!}

👤 {!! __('tg-notifier::events/github/star.deleted.remover') !!}: <b><code>{{ $payload->sender->login }}</code></b> 👀
👤 {!! __('tg-notifier::events/github/star.deleted.remover') !!}: <code>{{ $payload->sender->login }}</code> 👀
2 changes: 1 addition & 1 deletion resources/views/events/github/watch/started.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
]
) !!}

👤 {!! __('tg-notifier::events/github/watch.started.watcher') !!}: <b><code>{{ $payload->sender->login }}</code></b> 👀
👤 {!! __('tg-notifier::events/github/watch.started.watcher') !!}: <code>{{ $payload->sender->login }}</code> 👀

0 comments on commit 31004ea

Please sign in to comment.