Skip to content

Commit 407cfb0

Browse files
committed
style(i18n): prettier-wrap over-long string literals in management locales
Wrap lines exceeding printWidth 100 (emptyDescription, importPlaceholder). Pure formatting, no key/value changes.
1 parent a9f4592 commit 407cfb0

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

management/src/i18n/locales/en-US/modules/problems.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ export default {
290290
title: 'Constraints',
291291
add: 'Add Constraint',
292292
empty: 'No constraints yet',
293-
emptyDescription: 'No constraints added yet. Constraints describe the limits and rules for the problem (e.g., array length, value ranges).',
293+
emptyDescription:
294+
'No constraints added yet. Constraints describe the limits and rules for the problem (e.g., array length, value ranges).',
294295
addNew: 'Add new constraint',
295296
placeholder: 'e.g., 1 <= nums.length <= 10^5',
296297
},

management/src/i18n/locales/en-US/modules/testCases.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export default {
2525
export: 'Export',
2626
importTestCases: 'Import Test Cases',
2727
importData: 'Paste or upload test cases in JSON / CSV format',
28-
importPlaceholder: 'One case per line; comma- or tab-separated fields: input,output,score,isSample,isHidden',
28+
importPlaceholder:
29+
'One case per line; comma- or tab-separated fields: input,output,score,isSample,isHidden',
2930
importHelp: 'Accepts JSON arrays or CSV/TSV text; the first line may be a header',
3031
replaceExisting: 'Replace existing test cases',
3132
importing: 'Importing',

management/src/i18n/locales/zh-CN/modules/problems.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ export default {
289289
title: '约束条件',
290290
add: '添加约束',
291291
empty: '暂无约束条件',
292-
emptyDescription: '暂无约束条件。约束条件用于描述题目的限制和规则(例如:数组长度、数值范围)。',
292+
emptyDescription:
293+
'暂无约束条件。约束条件用于描述题目的限制和规则(例如:数组长度、数值范围)。',
293294
addNew: '添加新约束',
294295
placeholder: '例如: 1 <= nums.length <= 10^5',
295296
},

0 commit comments

Comments
 (0)