Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Replace to translation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
miyacorata committed May 9, 2020
1 parent 2e630e9 commit 48216d5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions resources/lang/en/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

'common.numbersof' => 'Numbers of :type',
'common.goto' => 'Go to :page Page',
'common.setclipboard' => 'Click to copy to clipboard',

'home.description' => 'MillionLivePortal, the unofficial database and portal website for THE IDOLM@STER MILLION LIVE!',
'home.latestnews' => 'Latest info',
Expand Down
1 change: 1 addition & 0 deletions resources/lang/ja/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

'common.numbersof' => ':typeの人数',
'common.goto' => ':pageページへ',
'common.setclipboard' => 'クリックしてクリップボードにコピー',

'home.description' => 'MillionLivePortalは、アイドルマスターミリオンライブ!の非公式データベース&ポータルサイトです。',
'home.latestnews' => '最新情報',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/idol/index-table.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
<td class="handedness">{{ __(translateHandedness($idol->handedness)) ?: 'N/A' }}</td>
<td class="cv ja">{{ $idol->cv }}</td>
<td class="color" style="color: {{ '#'.str_replace('#','',$idol->color) }}; border-right-color: {{ '#'.str_replace('#','',$idol->color) }}"
onclick="setClipboard(this.innerText)" title="Click to copy to clipboard">
{{ $idol->color ? '#'.str_replace('#','',$idol->color) : 'N/A' }}</td>
onclick="setClipboard(this.innerText)"
title="{{ __('messages.common.setclipboard') }}">{{ $idol->color ? '#'.str_replace('#','',$idol->color) : 'N/A' }}</td>
</tr>
@endforeach
</tbody>
Expand Down
5 changes: 3 additions & 2 deletions resources/views/idol/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
</tr>
<tr>
<th>{{ __('Personal Color') }}</th>
<td style="color:{{ '#'.($idol->color ?: '000') }}" class="colorcode" onclick="setClipboard(this.innerText)"
title="Click to copy to clipboard">{{ !empty($idol->color) ? '#'.str_replace('#','',$idol->color) : 'N/A' }}</td>
<td style="color:{{ '#'.($idol->color ?: '000') }}" onclick="setClipboard(this.innerText)"
title="{{ __('messages.common.setclipboard') }}"
class="colorcode">{{ !empty($idol->color) ? '#'.str_replace('#','',$idol->color) : 'N/A' }}</td>
</tr>
</table>
</div>
Expand Down

0 comments on commit 48216d5

Please sign in to comment.