Translate debug page

This commit is contained in:
Florian Dupret
2020-06-09 13:51:01 +02:00
parent b4aafefc2b
commit 5dd6b23b09
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.', 'is_beta_warning' => 'You are running an BETA version. Be wary of bugs and issues.',
'all_destination_accounts' => 'Destination accounts', 'all_destination_accounts' => 'Destination accounts',
'all_source_accounts' => 'Source accounts', 'all_source_accounts' => 'Source accounts',
'back_to_index' => 'Back to the index',
// check for updates: // check for updates:
'update_check_title' => 'Check for updates', 'update_check_title' => 'Check for updates',
@@ -1658,5 +1659,13 @@ return [
'telemetry_delete_submitted_records' => 'Delete submitted records', 'telemetry_delete_submitted_records' => 'Delete submitted records',
'telemetry_submission_executed' => 'Records have been submitted. Check your log files for more info.', 'telemetry_submission_executed' => 'Records have been submitted. Check your log files for more info.',
'telemetry_all_deleted' => 'All telemetry records have been deleted.', '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> <html>
<head> <head>
<title>Debug page</title> <title>{{ trans('firefly.debug_page') }}</title>
</head> </head>
<body> <body>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;"> <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 {{ trans('firefly.debug_submit_instructions')|raw }}
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.
</p> </p>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;"> <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> </p>
<textarea rows="30" cols="100" name="debug_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:8pt;"> <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 }}**. 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> </textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;"> <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>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;"> <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 {{ trans('firefly.debug_additional_data')|raw }}
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.
</p> </p>
<textarea rows="30" cols="100" name="log_info" style="font-family:Menlo, Monaco, Consolas, monospace;font-size:7pt;"> <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> </textarea>
<p style="font-family:Arial, Arial, Helvetica, sans-serif;font-size:12pt;width:600px;color:#a00;"> <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>
</body> </body>