Skip to content

Commit 5bbce30

Browse files
committed
syn
1 parent 28276b2 commit 5bbce30

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

config/translator.php

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,31 @@
44

55
/*
66
|--------------------------------------------------------------------------
7-
| Lang Paths
7+
| Language Paths
88
|--------------------------------------------------------------------------
99
|
10-
| This is the path were your translation files are stored. In a normal Laravel install, you should not have to change it.
10+
| This is the path where your translation files are stored. In a standard Laravel installation, you should not need to change it.
1111
|
1212
*/
1313
'lang_path' => lang_path(),
1414

15-
1615
/*
1716
|--------------------------------------------------------------------------
1817
| Auto Sort Keys
1918
|--------------------------------------------------------------------------
2019
|
21-
| If set to true, all keys will be sorted automatically after any file manipulation like 'edit', 'translate' or 'proofread'.
20+
| If set to true, all keys will be sorted automatically after any file manipulation such as 'edit', 'translate', or 'proofread'.
2221
|
2322
*/
2423
'sort_keys' => false,
2524

2625
/*
2726
|--------------------------------------------------------------------------
28-
| Third party services
27+
| Third-Party Services
2928
|--------------------------------------------------------------------------
3029
|
31-
| Define the api key of your third party services. These keys are reused both for 'translate' and 'proofread'.
32-
| You can override these config and define specific service options in 'translate.services.openai.key' for example.
30+
| Define the API keys for your third-party services. These keys are reused for both 'translate' and 'proofread'.
31+
| You can override this configuration and define specific service options, for example, in 'translate.services.openai.key'.
3332
|
3433
*/
3534
'services' => [
@@ -45,11 +44,11 @@
4544

4645
/*
4746
|--------------------------------------------------------------------------
48-
| Translation service
47+
| Translation Service
4948
|--------------------------------------------------------------------------
5049
|
51-
| This is the services that can be used to translate your strings from a local to another one.
52-
| You can customize their behaviour here, but you can also define your own service.
50+
| These are the services that can be used to translate your strings from one locale to another.
51+
| You can customize their behavior here, or you can define your own service.
5352
|
5453
*/
5554
'translate' => [
@@ -65,19 +64,19 @@
6564
As an experienced copywriter and translator specializing in website copy, your task is to translate the provided content from a specific website.
6665
Your translations should maintain the original tone while being adapted to the target language, ensuring they are both relevant and clear.
6766
The content will be provided in JSON format, and you must translate it to the locale '{targetLocale}'.
68-
Make sure that all JSON keys remain preserved and unchanged.
67+
Ensure that all JSON keys remain preserved and unchanged.
6968
",
7069
],
7170
],
7271
],
7372

7473
/*
7574
|--------------------------------------------------------------------------
76-
| Translation service
75+
| Proofreading Service
7776
|--------------------------------------------------------------------------
7877
|
79-
| This is the services that can be used to proofread your strings.
80-
| You can customize their behaviour here, but you can also define your own service.
78+
| These are the services that can be used to proofread your strings.
79+
| You can customize their behavior here, or you can define your own service.
8180
|
8281
*/
8382
'proofread' => [
@@ -102,11 +101,11 @@
102101

103102
/*
104103
|--------------------------------------------------------------------------
105-
| Searchcode / Deadcode Service
104+
| Search Code / Dead Code Service
106105
|--------------------------------------------------------------------------
107106
|
108-
| This is the services that can be used to detect dead translation strings in your codebase.
109-
| You can customize their behaviour here, but you can also define your own service.
107+
| These are the services that can be used to detect dead translation strings in your codebase.
108+
| You can customize their behavior here, or you can define your own service.
110109
|
111110
*/
112111
'searchcode' => [
@@ -130,7 +129,7 @@
130129

131130
/**
132131
* Translation keys to exclude from dead code detection.
133-
* By default, we exclude the default Laravel translations.
132+
* By default, the default Laravel translations are excluded.
134133
*/
135134
'ignored_translations' => [
136135
'auth',
@@ -142,8 +141,8 @@
142141
'services' => [
143142
'php-parser' => [
144143
/**
145-
* To speed up the detection, all the results of the scan will be stored in a file.
146-
* Feel free to change the path if you need.
144+
* To speed up detection, all the results of the scan will be stored in a file.
145+
* Feel free to change the path if needed.
147146
*/
148147
'cache_path' => base_path('.translator.cache'),
149148
],

0 commit comments

Comments
 (0)