Merge pull request #3455 from sephrat/debug_translation

Translate debug page
This commit is contained in:
James Cole 2020-06-09 15:18:17 +00:00 committed by GitHub
commit 1bac3258da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 11 deletions

View File

@ -221,6 +221,7 @@ return [
'is_beta_warning' => 'You are running an BETA version. Be wary of bugs and issues.',
'all_destination_accounts' => 'Destination accounts',
'all_source_accounts' => 'Source accounts',
'back_to_index' => 'Back to the index',
// check for updates:
'update_check_title' => 'Check for updates',
@ -1659,5 +1660,13 @@ return [
'telemetry_delete_submitted_records' => 'Delete submitted records',
'telemetry_submission_executed' => 'Records have been submitted. Check your log files for more info.',
'telemetry_all_deleted' => 'All telemetry records have been deleted.',
'telemetry_submitted_deleted' => 'All submitted telemetry records have been deleted.'
'telemetry_submitted_deleted' => 'All submitted telemetry records have been deleted.',
// debug page
'debug_page' => 'Debug page',
'debug_submit_instructions' => 'If you are running into problems, you can use the information in this box as debug information. Please copy-and-paste into a new or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">GitHub issue</a>. It will generate a beautiful table that can be used to quickly diagnose your problem.',
'debug_pretty_table' => 'If you copy/paste the box below into a GitHub issue it will generate a table. Please do not surround this text with backticks or quotes.',
'debug_additional_data' => 'You may also share the content of the box below. You can also copy-and-paste this into a new or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">GitHub issue</a>. However, the content of this box may contain private information such as account names, transaction details or email addresses.',
];

View File

@ -1,16 +1,14 @@
<html>
<head>
<title>Debug page</title>
<title>{{ trans('firefly.debug_page') }}</title>
</head>
<body>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;">
If you are running into problems, you can use the information in this box as debug information. Please copy-and-paste into a new
or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">GitHub issue</a>. It will generate a beautiful table that can
be used to quickly diagnose your problem.
{{ trans('firefly.debug_submit_instructions')|raw }}
</p>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;">
<strong>If you copy/paste the box below into a GitHub issue it will generate a table. Please do not surround this text with backticks or quotes.</strong>
<strong>{{ trans('firefly.debug_pretty_table') }}</strong>
</p>
<textarea rows="30" cols="100" name="debug_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:8pt;">
Debug information generated at {{ now }} for Firefly III version **{{ FF_VERSION }}**.
@ -56,13 +54,11 @@ Debug information generated at {{ now }} for Firefly III version **{{ FF_VERSION
</textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
<a href="{{ route('index') }}">Back to the index</a>
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
</p>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
You may also share the content of the box below. You can also copy-and-paste this into a new
or existing <a href="https://github.com/firefly-iii/firefly-iii/issues">GitHub issue</a>. However, the content of this
box may contain private information such as account names, transaction details or email addresses.
{{ trans('firefly.debug_additional_data')|raw }}
</p>
<textarea rows="30" cols="100" name="log_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:7pt;">
@ -72,7 +68,7 @@ Debug information generated at {{ now }} for Firefly III version **{{ FF_VERSION
</textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;">
<a href="{{ route('index') }}">Back to the index</a>
<a href="{{ route('index') }}">{{ trans('firefly.back_to_index') }}</a>
</p>
</body>