@jjlmoya/utils-games-development 1.53.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/category/index.ts +2 -1
- package/src/entries.ts +6 -1
- package/src/index.ts +2 -0
- package/src/tests/contrast_legibility.test.ts +245 -0
- package/src/tests/locale_completeness.test.ts +2 -2
- package/src/tests/tool_validation.test.ts +2 -2
- package/src/tool/itchioGameTester/itchio-game-tester.css +3 -3
- package/src/tool/localizationSanitizer/localization-sanitizer.css +13 -13
- package/src/tool/retroSfxGenerator/bibliography.astro +6 -0
- package/src/tool/retroSfxGenerator/bibliography.ts +16 -0
- package/src/tool/retroSfxGenerator/client.ts +256 -0
- package/src/tool/retroSfxGenerator/component.astro +146 -0
- package/src/tool/retroSfxGenerator/entry.ts +27 -0
- package/src/tool/retroSfxGenerator/i18n/de.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/en.ts +224 -0
- package/src/tool/retroSfxGenerator/i18n/es.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/fr.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/id.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/it.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/ja.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/ko.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/nl.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/pl.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/pt.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/ru.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/sv.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/tr.ts +211 -0
- package/src/tool/retroSfxGenerator/i18n/zh.ts +211 -0
- package/src/tool/retroSfxGenerator/index.ts +11 -0
- package/src/tool/retroSfxGenerator/logic.test.ts +40 -0
- package/src/tool/retroSfxGenerator/logic.ts +214 -0
- package/src/tool/retroSfxGenerator/retro-sfx-generator.css +429 -0
- package/src/tool/retroSfxGenerator/seo.astro +15 -0
- package/src/tool/retroSfxGenerator/ui.ts +41 -0
- package/src/tool/saveFileEditor/game-save-file-editor.css +5 -5
- package/src/tool/spriteSheetPacker/sprite-sheet-packer.css +5 -5
- package/src/tool/steamBbcodeTranslator/app-client.ts +125 -0
- package/src/tool/steamBbcodeTranslator/bbcode-parser.ts +110 -0
- package/src/tool/steamBbcodeTranslator/bibliography.astro +6 -0
- package/src/tool/steamBbcodeTranslator/bibliography.ts +14 -0
- package/src/tool/steamBbcodeTranslator/component.astro +83 -0
- package/src/tool/steamBbcodeTranslator/entry.ts +28 -0
- package/src/tool/steamBbcodeTranslator/html-parser.ts +42 -0
- package/src/tool/steamBbcodeTranslator/html-renderer.ts +71 -0
- package/src/tool/steamBbcodeTranslator/i18n/de.ts +207 -0
- package/src/tool/steamBbcodeTranslator/i18n/en.ts +236 -0
- package/src/tool/steamBbcodeTranslator/i18n/es.ts +207 -0
- package/src/tool/steamBbcodeTranslator/i18n/fr.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/id.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/it.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/ja.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/ko.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/nl.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/pl.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/pt.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/ru.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/sv.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/tr.ts +195 -0
- package/src/tool/steamBbcodeTranslator/i18n/zh.ts +195 -0
- package/src/tool/steamBbcodeTranslator/index.ts +12 -0
- package/src/tool/steamBbcodeTranslator/logic.test.ts +41 -0
- package/src/tool/steamBbcodeTranslator/logic.ts +96 -0
- package/src/tool/steamBbcodeTranslator/markdown-parser.ts +115 -0
- package/src/tool/steamBbcodeTranslator/markdown-renderer.ts +85 -0
- package/src/tool/steamBbcodeTranslator/seo.astro +15 -0
- package/src/tool/steamBbcodeTranslator/steam-bbcode-translator.css +392 -0
- package/src/tool/steamBbcodeTranslator/storage.ts +30 -0
- package/src/tool/steamBbcodeTranslator/types.ts +36 -0
- package/src/tool/steamBbcodeTranslator/ui.ts +18 -0
- package/src/tool/steamCapsuleGenerator/steam-capsule-generator.css +6 -6
- package/src/tools.ts +4 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
2
|
+
import type { SteamBbcodeTranslatorUI } from '../ui';
|
|
3
|
+
import { bibliographyEntries } from '../bibliography';
|
|
4
|
+
|
|
5
|
+
export const content: ToolLocaleContent<SteamBbcodeTranslatorUI> = {
|
|
6
|
+
slug: 'conversor-bbcode-steam',
|
|
7
|
+
title: 'Conversor de BBCode da Steam, Markdown e HTML',
|
|
8
|
+
description: 'Converta entre BBCode da Steam, Markdown e HTML em ambas as direções com deteção automática de sintaxe e pré-visualização.',
|
|
9
|
+
ui: {
|
|
10
|
+
editorLabel: 'Cole o seu texto formatado',
|
|
11
|
+
editorHint: 'BBCode, Markdown ou HTML é detetado automaticamente ao digitar.',
|
|
12
|
+
detectedLabel: 'Detetado',
|
|
13
|
+
detectedEmpty: 'A aguardar texto',
|
|
14
|
+
bbcode: 'Steam BBCode',
|
|
15
|
+
markdown: 'Markdown',
|
|
16
|
+
html: 'HTML',
|
|
17
|
+
clear: 'Limpar',
|
|
18
|
+
copy: 'Copiar resultado',
|
|
19
|
+
copied: 'Copiado para a área de transferência',
|
|
20
|
+
characters: 'Caracteres',
|
|
21
|
+
blocks: 'Blocos',
|
|
22
|
+
privacyNote: 'Executado no navegador. Nada é enviado.',
|
|
23
|
+
persistenceNote: 'Último rascunho guardado localmente',
|
|
24
|
+
previewLabel: 'Pré-visualização',
|
|
25
|
+
previewEmpty: 'A sua pré-visualização formatada aparecerá aqui.'
|
|
26
|
+
},
|
|
27
|
+
seo: [
|
|
28
|
+
{
|
|
29
|
+
type: 'title',
|
|
30
|
+
level: 2,
|
|
31
|
+
text: 'Por que as descrições de loja precisam de um conversor'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: 'paragraph',
|
|
35
|
+
html: 'As descrições da loja Steam usam BBCode. Kits de imprensa e sites de documentação preferem Markdown ou HTML. Esta ferramenta converte automaticamente entre os três formatos.'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'title',
|
|
39
|
+
level: 2,
|
|
40
|
+
text: 'Formatos e marcadores suportados'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: 'paragraph',
|
|
44
|
+
html: 'Suporta cabeçalhos, negrito, itálico, links, listas, citações e spoilers.'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'stats',
|
|
48
|
+
columns: 4,
|
|
49
|
+
items: [
|
|
50
|
+
{ label: 'Formatos de entrada', value: '3' },
|
|
51
|
+
{ label: 'Saídas geradas', value: '2' },
|
|
52
|
+
{ label: 'Profundidade de lista', value: 'Aninhada' },
|
|
53
|
+
{ label: 'Processamento', value: 'Local' }
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'title',
|
|
58
|
+
level: 2,
|
|
59
|
+
text: 'Listas aninhadas preservadas'
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: 'paragraph',
|
|
63
|
+
html: 'Uma árvore de estrutura garante que os subitens permaneçam dentro do item pai.'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: 'table',
|
|
67
|
+
headers: ['Steam BBCode', 'Markdown', 'HTML'],
|
|
68
|
+
rows: [
|
|
69
|
+
['[h1]Título[/h1]', '# Título', '<h1>Título</h1>'],
|
|
70
|
+
['[b]Importante[/b]', '**Importante**', '<strong>Importante</strong>'],
|
|
71
|
+
['[i]Nota[/i]', '*Nota*', '<em>Nota</em>'],
|
|
72
|
+
['[url=https://example.com]Link[/url]', '[Link](https://example.com)', '<a href="https://example.com">Link</a>'],
|
|
73
|
+
['[list][*]Um[*]Dois[/list]', '- Um\n- Dois', '<ul><li>Um</li><li>Dois</li></ul>']
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: 'title',
|
|
78
|
+
level: 2,
|
|
79
|
+
text: 'Diferenças entre Markdown e HTML'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: 'paragraph',
|
|
83
|
+
html: 'Quando o Markdown não suporta sublinhado nativamente, o conversor utiliza elementos HTML inline.'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'tip',
|
|
87
|
+
title: 'Verificação antes da publicação',
|
|
88
|
+
html: 'Compare o resultado na pré-visualização com o seu documento original antes de publicar na Steam.'
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'title',
|
|
92
|
+
level: 2,
|
|
93
|
+
text: 'Privacidade dos seus dados'
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'paragraph',
|
|
97
|
+
html: 'Todo o processamento é feito localmente no seu navegador sem envio para servidores.'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'title',
|
|
101
|
+
level: 2,
|
|
102
|
+
text: 'Limitações'
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'proscons',
|
|
106
|
+
title: 'Considerações',
|
|
107
|
+
items: [
|
|
108
|
+
{
|
|
109
|
+
pro: 'Estrutura de listas mantida.',
|
|
110
|
+
con: 'Tags personalizadas requerem revisão manual.'
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'title',
|
|
116
|
+
level: 2,
|
|
117
|
+
text: 'Glossário'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'glossary',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
term: 'BBCode',
|
|
124
|
+
definition: 'Sintaxe baseada em colchetes usada na Steam.'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
term: 'Markdown',
|
|
128
|
+
definition: 'Formato de texto simples e legível.'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
term: 'HTML',
|
|
132
|
+
definition: 'Linguagem de marcação padrão para a web.'
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
faqTitle: 'Perguntas frequentes',
|
|
138
|
+
faq: [
|
|
139
|
+
{
|
|
140
|
+
question: 'O meu texto é enviado para um servidor?',
|
|
141
|
+
answer: 'Não. A conversão ocorre totalmente no seu navegador.'
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
question: 'Suporta listas aninhadas?',
|
|
145
|
+
answer: 'Sim. A estrutura é analisada antes da conversão.'
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
howTo: [
|
|
149
|
+
{
|
|
150
|
+
name: 'Cole o texto',
|
|
151
|
+
text: 'Cole BBCode da Steam, Markdown ou HTML.'
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Deteção automática',
|
|
155
|
+
text: 'Os outros dois formatos serão gerados imediatamente.'
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
schemas: [
|
|
159
|
+
{
|
|
160
|
+
'@context': 'https://schema.org',
|
|
161
|
+
'@type': 'SoftwareApplication',
|
|
162
|
+
name: 'Conversor de BBCode da Steam, Markdown e HTML',
|
|
163
|
+
applicationCategory: 'DeveloperApplication',
|
|
164
|
+
operatingSystem: 'Any',
|
|
165
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' }
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
'@context': 'https://schema.org',
|
|
169
|
+
'@type': 'FAQPage',
|
|
170
|
+
mainEntity: [
|
|
171
|
+
{
|
|
172
|
+
'@type': 'Question',
|
|
173
|
+
name: 'O meu texto é enviado para um servidor?',
|
|
174
|
+
acceptedAnswer: {
|
|
175
|
+
'@type': 'Answer',
|
|
176
|
+
text: 'Não. A conversão ocorre totalmente no seu navegador.'
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
'@context': 'https://schema.org',
|
|
183
|
+
'@type': 'HowTo',
|
|
184
|
+
name: 'Como converter BBCode da Steam, Markdown e HTML',
|
|
185
|
+
step: [
|
|
186
|
+
{
|
|
187
|
+
'@type': 'HowToStep',
|
|
188
|
+
name: 'Cole o texto',
|
|
189
|
+
text: 'Cole BBCode da Steam, Markdown ou HTML.'
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
bibliography: bibliographyEntries
|
|
195
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
2
|
+
import type { SteamBbcodeTranslatorUI } from '../ui';
|
|
3
|
+
import { bibliographyEntries } from '../bibliography';
|
|
4
|
+
|
|
5
|
+
export const content: ToolLocaleContent<SteamBbcodeTranslatorUI> = {
|
|
6
|
+
slug: 'preobrazovatel-bbcode-steam',
|
|
7
|
+
title: 'Конвертер Steam BBCode, Markdown и HTML',
|
|
8
|
+
description: 'Двусторонний конвертер Steam BBCode, Markdown и HTML с автоматическим определением синтаксиса и живым предпросмотром.',
|
|
9
|
+
ui: {
|
|
10
|
+
editorLabel: 'Вставьте исходный текст',
|
|
11
|
+
editorHint: 'BBCode, Markdown или HTML определяются автоматически при вводе.',
|
|
12
|
+
detectedLabel: 'Определен синтаксис',
|
|
13
|
+
detectedEmpty: 'Ожидание текста',
|
|
14
|
+
bbcode: 'Steam BBCode',
|
|
15
|
+
markdown: 'Markdown',
|
|
16
|
+
html: 'HTML',
|
|
17
|
+
clear: 'Очистить',
|
|
18
|
+
copy: 'Скопировать результат',
|
|
19
|
+
copied: 'Скопировано в буфер обмена',
|
|
20
|
+
characters: 'Символы',
|
|
21
|
+
blocks: 'Блоки',
|
|
22
|
+
privacyNote: 'Работает в браузере. Данные не отправляются.',
|
|
23
|
+
persistenceNote: 'Черновик сохранен локально',
|
|
24
|
+
previewLabel: 'Предпросмотр',
|
|
25
|
+
previewEmpty: 'Форматированный результат появится здесь.'
|
|
26
|
+
},
|
|
27
|
+
seo: [
|
|
28
|
+
{
|
|
29
|
+
type: 'title',
|
|
30
|
+
level: 2,
|
|
31
|
+
text: 'Зачем нужен конвертер разметки для страниц Steam'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: 'paragraph',
|
|
35
|
+
html: 'Описание игры в Steamworks использует BBCode. Пресс-киты и сайты требуют Markdown или HTML. Данный инструмент автоматически генерирует остальные форматы.'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'title',
|
|
39
|
+
level: 2,
|
|
40
|
+
text: 'Поддерживаемый синтаксис'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: 'paragraph',
|
|
44
|
+
html: 'Поддерживаются заголовки, жирный текст, курсив, ссылки, списки, цитаты и спойлеры.'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'stats',
|
|
48
|
+
columns: 4,
|
|
49
|
+
items: [
|
|
50
|
+
{ label: 'Форматы ввода', value: '3' },
|
|
51
|
+
{ label: 'Выходных формата', value: '2' },
|
|
52
|
+
{ label: 'Вложенные списки', value: 'Да' },
|
|
53
|
+
{ label: 'Обработка', value: 'В браузере' }
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'title',
|
|
58
|
+
level: 2,
|
|
59
|
+
text: 'Сохранение структуры вложенных списков'
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: 'paragraph',
|
|
63
|
+
html: 'Разбор в виде дерева гарантирует сохранение вложенности подпунктов списков.'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: 'table',
|
|
67
|
+
headers: ['Steam BBCode', 'Markdown', 'HTML'],
|
|
68
|
+
rows: [
|
|
69
|
+
['[h1]Заголовок[/h1]', '# Заголовок', '<h1>Заголовок</h1>'],
|
|
70
|
+
['[b]Важно[/b]', '**Важно**', '<strong>Важно</strong>'],
|
|
71
|
+
['[i]Заметка[/i]', '*Заметка*', '<em>Заметка</em>'],
|
|
72
|
+
['[url=https://example.com]Ссылка[/url]', '[Ссылка](https://example.com)', '<a href="https://example.com">Ссылка</a>'],
|
|
73
|
+
['[list][*]Один[*]Два[/list]', '- Один\n- Два', '<ul><li>Один</li><li>Два</li></ul>']
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: 'title',
|
|
78
|
+
level: 2,
|
|
79
|
+
text: 'Различия Markdown и HTML'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: 'paragraph',
|
|
83
|
+
html: 'Если Markdown не поддерживает подчеркивание, инструмент использует вставки HTML.'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'tip',
|
|
87
|
+
title: 'Проверка перед публикацией',
|
|
88
|
+
html: 'Сравните результат в окне предпросмотра с исходным документом перед добавлением в Steam.'
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'title',
|
|
92
|
+
level: 2,
|
|
93
|
+
text: 'Безопасность данных'
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'paragraph',
|
|
97
|
+
html: 'Все операции выполняются исключительно локально в вашем браузере.'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'title',
|
|
101
|
+
level: 2,
|
|
102
|
+
text: 'Ограничения'
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'proscons',
|
|
106
|
+
title: 'Особенности',
|
|
107
|
+
items: [
|
|
108
|
+
{
|
|
109
|
+
pro: 'Структурированная обработка списков.',
|
|
110
|
+
con: 'Нестандартные теги требуют ручной проверки.'
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'title',
|
|
116
|
+
level: 2,
|
|
117
|
+
text: 'Глоссарий'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'glossary',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
term: 'BBCode',
|
|
124
|
+
definition: 'Язык разметки с квадратными скобками для Steam.'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
term: 'Markdown',
|
|
128
|
+
definition: 'Простой текстовый формат разметки.'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
term: 'HTML',
|
|
132
|
+
definition: 'Стандартный язык разметки веб-страниц.'
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
faqTitle: 'Часто задаваемые вопросы',
|
|
138
|
+
faq: [
|
|
139
|
+
{
|
|
140
|
+
question: 'Отправляются ли данные на сервер?',
|
|
141
|
+
answer: 'Нет. Конвертация выполняется полностью локально в браузере.'
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
question: 'Поддерживаются ли вложенные списки?',
|
|
145
|
+
answer: 'Да. Структура анализируется перед генерированием кода.'
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
howTo: [
|
|
149
|
+
{
|
|
150
|
+
name: 'Вставьте текст',
|
|
151
|
+
text: 'Вставьте Steam BBCode, Markdown или HTML.'
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Автоматическая конвертация',
|
|
155
|
+
text: 'Два других формата сформируются автоматически.'
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
schemas: [
|
|
159
|
+
{
|
|
160
|
+
'@context': 'https://schema.org',
|
|
161
|
+
'@type': 'SoftwareApplication',
|
|
162
|
+
name: 'Конвертер Steam BBCode, Markdown и HTML',
|
|
163
|
+
applicationCategory: 'DeveloperApplication',
|
|
164
|
+
operatingSystem: 'Any',
|
|
165
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'RUB' }
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
'@context': 'https://schema.org',
|
|
169
|
+
'@type': 'FAQPage',
|
|
170
|
+
mainEntity: [
|
|
171
|
+
{
|
|
172
|
+
'@type': 'Question',
|
|
173
|
+
name: 'Отправляются ли данные на сервер?',
|
|
174
|
+
acceptedAnswer: {
|
|
175
|
+
'@type': 'Answer',
|
|
176
|
+
text: 'Нет. Конвертация выполняется полностью локально в браузере.'
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
'@context': 'https://schema.org',
|
|
183
|
+
'@type': 'HowTo',
|
|
184
|
+
name: 'Как конвертировать Steam BBCode, Markdown и HTML',
|
|
185
|
+
step: [
|
|
186
|
+
{
|
|
187
|
+
'@type': 'HowToStep',
|
|
188
|
+
name: 'Вставьте текст',
|
|
189
|
+
text: 'Вставьте Steam BBCode, Markdown или HTML.'
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
bibliography: bibliographyEntries
|
|
195
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import type { ToolLocaleContent } from '../../../types';
|
|
2
|
+
import type { SteamBbcodeTranslatorUI } from '../ui';
|
|
3
|
+
import { bibliographyEntries } from '../bibliography';
|
|
4
|
+
|
|
5
|
+
export const content: ToolLocaleContent<SteamBbcodeTranslatorUI> = {
|
|
6
|
+
slug: 'steam-bbcode-omvandlare',
|
|
7
|
+
title: 'Steam BBCode, Markdown och HTML Omvandlare',
|
|
8
|
+
description: 'Konvertera mellan Steam BBCode, Markdown och HTML i båda riktningarna med automatisk syntaxdetektering och live-förhandsgranskning.',
|
|
9
|
+
ui: {
|
|
10
|
+
editorLabel: 'Klistra in din formaterade text',
|
|
11
|
+
editorHint: 'BBCode, Markdown eller HTML identifieras automatiskt medan du skriver.',
|
|
12
|
+
detectedLabel: 'Identifierad',
|
|
13
|
+
detectedEmpty: 'Väntar på text',
|
|
14
|
+
bbcode: 'Steam BBCode',
|
|
15
|
+
markdown: 'Markdown',
|
|
16
|
+
html: 'HTML',
|
|
17
|
+
clear: 'Rensa',
|
|
18
|
+
copy: 'Kopiera resultat',
|
|
19
|
+
copied: 'Kopierat till urklipp',
|
|
20
|
+
characters: 'Tecken',
|
|
21
|
+
blocks: 'Block',
|
|
22
|
+
privacyNote: 'Körs helt i din webbläsare. Inga uppladdningar.',
|
|
23
|
+
persistenceNote: 'Senaste utkastet sparat lokalt',
|
|
24
|
+
previewLabel: 'Förhandsgranskning',
|
|
25
|
+
previewEmpty: 'Din formaterade förhandsgranskning visas här.'
|
|
26
|
+
},
|
|
27
|
+
seo: [
|
|
28
|
+
{
|
|
29
|
+
type: 'title',
|
|
30
|
+
level: 2,
|
|
31
|
+
text: 'Varför butiksbeskrivningar behöver en omvandlare'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: 'paragraph',
|
|
35
|
+
html: 'Steam-butikssidor använder BBCode. Presskit och dokumentation kräver ofta Markdown eller HTML. Detta verktyg konverterar automatiskt mellan de tre formaten.'
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'title',
|
|
39
|
+
level: 2,
|
|
40
|
+
text: 'Formateringsstöd'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: 'paragraph',
|
|
44
|
+
html: 'Stödjer rubriker, fetstil, kursiv stil, länkar, listor, citat och spoilers.'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'stats',
|
|
48
|
+
columns: 4,
|
|
49
|
+
items: [
|
|
50
|
+
{ label: 'Indataformat', value: '3' },
|
|
51
|
+
{ label: 'Utdata per klistra in', value: '2' },
|
|
52
|
+
{ label: 'Listdjup', value: 'Nästlad' },
|
|
53
|
+
{ label: 'Bearbetning', value: 'Endast webbläsare' }
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'title',
|
|
58
|
+
level: 2,
|
|
59
|
+
text: 'Bevarade nästlade listor'
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: 'paragraph',
|
|
63
|
+
html: 'Ett trädträd upprätthåller underlistor i rätt strukturell position.'
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: 'table',
|
|
67
|
+
headers: ['Steam BBCode', 'Markdown', 'HTML'],
|
|
68
|
+
rows: [
|
|
69
|
+
['[h1]Titel[/h1]', '# Titel', '<h1>Titel</h1>'],
|
|
70
|
+
['[b]Viktigt[/b]', '**Viktigt**', '<strong>Viktigt</strong>'],
|
|
71
|
+
['[i]Notering[/i]', '*Notering*', '<em>Notering</em>'],
|
|
72
|
+
['[url=https://example.com]Länk[/url]', '[Länk](https://example.com)', '<a href="https://example.com">Länk</a>'],
|
|
73
|
+
['[list][*]Ett[*]Två[/list]', '- Ett\n- Två', '<ul><li>Ett</li><li>Två</li></ul>']
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
type: 'title',
|
|
78
|
+
level: 2,
|
|
79
|
+
text: 'Skillnader mellan Markdown och HTML'
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: 'paragraph',
|
|
83
|
+
html: 'När Markdown saknar stöd för understrykning används inline HTML.'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'tip',
|
|
87
|
+
title: 'Granskning före publicering',
|
|
88
|
+
html: 'Jämför förhandsgranskningen med ditt originaldokument innan du publicerar på Steam.'
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'title',
|
|
92
|
+
level: 2,
|
|
93
|
+
text: 'Integritet'
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'paragraph',
|
|
97
|
+
html: 'All bearbetning sker lokalt i din webbläsare utan att skicka data vidare.'
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
type: 'title',
|
|
101
|
+
level: 2,
|
|
102
|
+
text: 'Begränsningar'
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: 'proscons',
|
|
106
|
+
title: 'Att tänka på',
|
|
107
|
+
items: [
|
|
108
|
+
{
|
|
109
|
+
pro: 'Strukturerad listförädling.',
|
|
110
|
+
con: 'Anpassade taggar behöver manuell översyn.'
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'title',
|
|
116
|
+
level: 2,
|
|
117
|
+
text: 'Ordlista'
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: 'glossary',
|
|
121
|
+
items: [
|
|
122
|
+
{
|
|
123
|
+
term: 'BBCode',
|
|
124
|
+
definition: 'Haki-baserad formatering som används på Steam.'
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
term: 'Markdown',
|
|
128
|
+
definition: 'Enkelt och läsbart textformat.'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
term: 'HTML',
|
|
132
|
+
definition: 'Standardiserat märkspråk för webben.'
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
faqTitle: 'Vanliga frågor',
|
|
138
|
+
faq: [
|
|
139
|
+
{
|
|
140
|
+
question: 'Skickas min text till en server?',
|
|
141
|
+
answer: 'Nej. Konverteringen sker helt i din webbläsare.'
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
question: 'Stöds nästlade listor?',
|
|
145
|
+
answer: 'Ja. Liststrukturen analyseras innan konvertering.'
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
howTo: [
|
|
149
|
+
{
|
|
150
|
+
name: 'Klistra in text',
|
|
151
|
+
text: 'Klistra in Steam BBCode, Markdown eller HTML.'
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Automatisk detektering',
|
|
155
|
+
text: 'De övriga två formaten genereras direkt.'
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
schemas: [
|
|
159
|
+
{
|
|
160
|
+
'@context': 'https://schema.org',
|
|
161
|
+
'@type': 'SoftwareApplication',
|
|
162
|
+
name: 'Steam BBCode, Markdown och HTML Omvandlare',
|
|
163
|
+
applicationCategory: 'DeveloperApplication',
|
|
164
|
+
operatingSystem: 'Any',
|
|
165
|
+
offers: { '@type': 'Offer', price: '0', priceCurrency: 'SEK' }
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
'@context': 'https://schema.org',
|
|
169
|
+
'@type': 'FAQPage',
|
|
170
|
+
mainEntity: [
|
|
171
|
+
{
|
|
172
|
+
'@type': 'Question',
|
|
173
|
+
name: 'Skickas min text till en server?',
|
|
174
|
+
acceptedAnswer: {
|
|
175
|
+
'@type': 'Answer',
|
|
176
|
+
text: 'Nej. Konverteringen sker helt i din webbläsare.'
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
'@context': 'https://schema.org',
|
|
183
|
+
'@type': 'HowTo',
|
|
184
|
+
name: 'Hur man konverterar Steam BBCode, Markdown och HTML',
|
|
185
|
+
step: [
|
|
186
|
+
{
|
|
187
|
+
'@type': 'HowToStep',
|
|
188
|
+
name: 'Klistra in text',
|
|
189
|
+
text: 'Klistra in Steam BBCode, Markdown eller HTML.'
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
bibliography: bibliographyEntries
|
|
195
|
+
};
|