Skip to content

Commit

Permalink
Rename template to example (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-gordon authored Aug 5, 2024
1 parent 455beb1 commit c9ffb55
Show file tree
Hide file tree
Showing 19 changed files with 131 additions and 149 deletions.
5 changes: 3 additions & 2 deletions app/src/components/LoadTemplateDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ export function LoadTemplateDialog() {
<EditorActionTextButton
icon={PiShapesDuotone}
data-session-activity="Load Template: Open Dialog"
iconClassName="fill-zinc-500"
>
<Trans>Load Template</Trans>
<Trans>Examples</Trans>
</EditorActionTextButton>
</Dialog.Trigger>
<Dialog.Portal>
Expand All @@ -113,7 +114,7 @@ export function LoadTemplateDialog() {
<PiShapesDuotone className="mr-2 translate-y-1" />

<span className="mr-4">
<Trans>Templates</Trans>
<Trans>Examples</Trans>
</span>
</Dialog.Title>
<RequestTemplate />
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/RequestTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function RequestTemplate() {
className="text-[14px] font-normal opacity-50 hover:opacity-1000"
data-session-activity="Request Template"
>
<Trans>Missing a template? Suggest one here!</Trans>
<Trans>Would you like to suggest a new example?</Trans>
</Link>
);
}
2 changes: 1 addition & 1 deletion app/src/locales/de/messages.js

Large diffs are not rendered by default.

31 changes: 14 additions & 17 deletions app/src/locales/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ msgstr "Attribute"
msgid "August 2023"
msgstr "August 2023"

#: src/components/LoadTemplateDialog.tsx:131
#: src/components/LoadTemplateDialog.tsx:132
msgid "Back"
msgstr "Zurück"

Expand Down Expand Up @@ -617,6 +617,11 @@ msgstr "Geben Sie unten Ihre E-Mail-Adresse ein, und wir senden Ihnen einen Link
msgid "Equal To"
msgstr "Gleich"

#: src/components/LoadTemplateDialog.tsx:101
#: src/components/LoadTemplateDialog.tsx:117
msgid "Examples"
msgstr "Beispiele"

#: src/pages/New.tsx:236
msgid "Examples:"
msgstr "Beispiele:"
Expand Down Expand Up @@ -889,7 +894,7 @@ msgstr "Heller Modus"
msgid "Link"
msgstr "Link"

#: src/components/LoadTemplateDialog.tsx:180
#: src/components/LoadTemplateDialog.tsx:181
msgid "Load"
msgstr "Laden"

Expand All @@ -905,19 +910,15 @@ msgstr "Datei laden"
msgid "Load Files"
msgstr "Dateien laden"

#: src/components/LoadTemplateDialog.tsx:100
msgid "Load Template"
msgstr "Vorlage laden"

#: src/components/LoadTemplateDialog.tsx:152
#: src/components/LoadTemplateDialog.tsx:153
msgid "Load default content"
msgstr "Standardinhalt laden"

#: src/components/LoadFromHashDialog.tsx:36
msgid "Load from link?"
msgstr "Von Link laden?"

#: src/components/LoadTemplateDialog.tsx:149
#: src/components/LoadTemplateDialog.tsx:150
msgid "Load layout and styles"
msgstr "Layout und Stile laden"

Expand Down Expand Up @@ -968,10 +969,6 @@ msgstr "Abrechnung verwalten"
msgid "Map Data"
msgstr "Daten abbilden"

#: src/components/RequestTemplate.tsx:13
msgid "Missing a template? Suggest one here!"
msgstr "Fehlt eine Vorlage? Schlag hier eine vor!"

#: src/lib/getDefaultText.ts:5
msgid "Modify text to see it transform into a flowchart on the right."
msgstr "Ändern Sie den Text, um ihn auf der rechten Seite in ein Flussdiagramm zu verwandeln."
Expand Down Expand Up @@ -1436,10 +1433,6 @@ msgstr "Ziel-Trennzeichen"
msgid "Target Distance From Node"
msgstr "Zielabstand vom Knoten "

#: src/components/LoadTemplateDialog.tsx:116
msgid "Templates"
msgstr "Vorlagen"

#: src/components/Tabs/ThemeTab.tsx:226
#: src/components/Tabs/ThemeTab.tsx:228
msgid "Text Color"
Expand Down Expand Up @@ -1538,7 +1531,7 @@ msgstr "Dies kann je nach Länge Ihrer Eingabe zwischen 30 Sekunden und 2 Minute
msgid "This sandbox is perfect for experimenting, but remember - it resets daily. Upgrade now and keep your current work!"
msgstr "Diese Sandbox ist perfekt zum Experimentieren, aber denk daran - sie wird täglich zurückgesetzt. Upgrade jetzt und behalte deine aktuelle Arbeit!"

#: src/components/LoadTemplateDialog.tsx:166
#: src/components/LoadTemplateDialog.tsx:167
msgid "This will replace the current content."
msgstr "Dies ersetzt den aktuellen Inhalt."

Expand Down Expand Up @@ -1791,6 +1784,10 @@ msgstr "Mit der Pro-Version können Sie lokale Dateien speichern und laden. Es i
msgid "Would you like to continue?"
msgstr "Möchten Sie fortfahren?"

#: src/components/RequestTemplate.tsx:13
msgid "Would you like to suggest a new example?"
msgstr "Möchtest du ein neues Beispiel vorschlagen?"

#: src/components/EditWithAI.tsx:216
msgid "Write your prompt here or click to enable the microphone, then press and hold to record."
msgstr "Schreiben Sie hier Ihre Aufforderung oder klicken Sie auf das Mikrofon, um es zu aktivieren, dann halten Sie es gedrückt, um aufzunehmen."
Expand Down
2 changes: 1 addition & 1 deletion app/src/locales/en/messages.js

Large diffs are not rendered by default.

31 changes: 14 additions & 17 deletions app/src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ msgstr "Attributes"
msgid "August 2023"
msgstr "August 2023"

#: src/components/LoadTemplateDialog.tsx:131
#: src/components/LoadTemplateDialog.tsx:132
msgid "Back"
msgstr "Back"

Expand Down Expand Up @@ -617,6 +617,11 @@ msgstr "Enter your email address below and we'll send you a link to reset your p
msgid "Equal To"
msgstr "Equal To"

#: src/components/LoadTemplateDialog.tsx:101
#: src/components/LoadTemplateDialog.tsx:117
msgid "Examples"
msgstr "Examples"

#: src/pages/New.tsx:236
msgid "Examples:"
msgstr "Examples:"
Expand Down Expand Up @@ -889,7 +894,7 @@ msgstr "Light Mode"
msgid "Link"
msgstr "Link"

#: src/components/LoadTemplateDialog.tsx:180
#: src/components/LoadTemplateDialog.tsx:181
msgid "Load"
msgstr "Load"

Expand All @@ -905,19 +910,15 @@ msgstr "Load File"
msgid "Load Files"
msgstr "Load Files"

#: src/components/LoadTemplateDialog.tsx:100
msgid "Load Template"
msgstr "Load Template"

#: src/components/LoadTemplateDialog.tsx:152
#: src/components/LoadTemplateDialog.tsx:153
msgid "Load default content"
msgstr "Load default content"

#: src/components/LoadFromHashDialog.tsx:36
msgid "Load from link?"
msgstr "Load from link?"

#: src/components/LoadTemplateDialog.tsx:149
#: src/components/LoadTemplateDialog.tsx:150
msgid "Load layout and styles"
msgstr "Load layout and styles"

Expand Down Expand Up @@ -968,10 +969,6 @@ msgstr "Manage Billing"
msgid "Map Data"
msgstr "Map Data"

#: src/components/RequestTemplate.tsx:13
msgid "Missing a template? Suggest one here!"
msgstr "Missing a template? Suggest one here!"

#: src/lib/getDefaultText.ts:5
msgid "Modify text to see it transform into a flowchart on the right."
msgstr "Modify text to see it transform into a flowchart on the right."
Expand Down Expand Up @@ -1436,10 +1433,6 @@ msgstr "Target Delimiter"
msgid "Target Distance From Node"
msgstr "Target Distance From Node"

#: src/components/LoadTemplateDialog.tsx:116
msgid "Templates"
msgstr "Templates"

#: src/components/Tabs/ThemeTab.tsx:226
#: src/components/Tabs/ThemeTab.tsx:228
msgid "Text Color"
Expand Down Expand Up @@ -1538,7 +1531,7 @@ msgstr "This may take between 30 seconds and 2 minutes depending on the length o
msgid "This sandbox is perfect for experimenting, but remember - it resets daily. Upgrade now and keep your current work!"
msgstr "This sandbox is perfect for experimenting, but remember - it resets daily. Upgrade now and keep your current work!"

#: src/components/LoadTemplateDialog.tsx:166
#: src/components/LoadTemplateDialog.tsx:167
msgid "This will replace the current content."
msgstr "This will replace the current content."

Expand Down Expand Up @@ -1791,6 +1784,10 @@ msgstr "With the pro version you can save and load local files. It's perfect for
msgid "Would you like to continue?"
msgstr "Would you like to continue?"

#: src/components/RequestTemplate.tsx:13
msgid "Would you like to suggest a new example?"
msgstr "Would you like to suggest a new example?"

#: src/components/EditWithAI.tsx:216
msgid "Write your prompt here or click to enable the microphone, then press and hold to record."
msgstr "Write your prompt here or click to enable the microphone, then press and hold to record."
Expand Down
2 changes: 1 addition & 1 deletion app/src/locales/es/messages.js

Large diffs are not rendered by default.

31 changes: 14 additions & 17 deletions app/src/locales/es/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ msgstr "Atributos"
msgid "August 2023"
msgstr "Agosto 2023"

#: src/components/LoadTemplateDialog.tsx:131
#: src/components/LoadTemplateDialog.tsx:132
msgid "Back"
msgstr "Atrás"

Expand Down Expand Up @@ -617,6 +617,11 @@ msgstr "Ingresa tu dirección de correo electrónico a continuación y te enviar
msgid "Equal To"
msgstr "Igual a"

#: src/components/LoadTemplateDialog.tsx:101
#: src/components/LoadTemplateDialog.tsx:117
msgid "Examples"
msgstr "Ejemplos"

#: src/pages/New.tsx:236
msgid "Examples:"
msgstr "Ejemplos:"
Expand Down Expand Up @@ -889,7 +894,7 @@ msgstr "Modo de luz"
msgid "Link"
msgstr "Enlace"

#: src/components/LoadTemplateDialog.tsx:180
#: src/components/LoadTemplateDialog.tsx:181
msgid "Load"
msgstr "Cargar"

Expand All @@ -905,19 +910,15 @@ msgstr "Cargar archivo"
msgid "Load Files"
msgstr "Cargar archivos"

#: src/components/LoadTemplateDialog.tsx:100
msgid "Load Template"
msgstr "Cargar Plantilla"

#: src/components/LoadTemplateDialog.tsx:152
#: src/components/LoadTemplateDialog.tsx:153
msgid "Load default content"
msgstr "Cargar contenido predeterminado"

#: src/components/LoadFromHashDialog.tsx:36
msgid "Load from link?"
msgstr "¿Cargar desde el enlace?"

#: src/components/LoadTemplateDialog.tsx:149
#: src/components/LoadTemplateDialog.tsx:150
msgid "Load layout and styles"
msgstr "Cargar diseño y estilos"

Expand Down Expand Up @@ -968,10 +969,6 @@ msgstr "Administrar facturación"
msgid "Map Data"
msgstr "Datos de mapa"

#: src/components/RequestTemplate.tsx:13
msgid "Missing a template? Suggest one here!"
msgstr "¿Falta una plantilla? ¡Sugerir una aquí!"

#: src/lib/getDefaultText.ts:5
msgid "Modify text to see it transform into a flowchart on the right."
msgstr "Modificar texto para ver cómo se transforma en un diagrama de flujo a la derecha."
Expand Down Expand Up @@ -1436,10 +1433,6 @@ msgstr "Delimitador objetivo"
msgid "Target Distance From Node"
msgstr "Distancia objetivo desde el nodo"

#: src/components/LoadTemplateDialog.tsx:116
msgid "Templates"
msgstr "Plantillas"

#: src/components/Tabs/ThemeTab.tsx:226
#: src/components/Tabs/ThemeTab.tsx:228
msgid "Text Color"
Expand Down Expand Up @@ -1538,7 +1531,7 @@ msgstr "Esto puede tardar entre 30 segundos y 2 minutos dependiendo de la longit
msgid "This sandbox is perfect for experimenting, but remember - it resets daily. Upgrade now and keep your current work!"
msgstr "Esta caja de arena es perfecta para experimentar, pero recuerda: se reinicia diariamente. ¡Actualiza ahora y guarda tu trabajo actual!"

#: src/components/LoadTemplateDialog.tsx:166
#: src/components/LoadTemplateDialog.tsx:167
msgid "This will replace the current content."
msgstr "Esto reemplazará el contenido actual."

Expand Down Expand Up @@ -1791,6 +1784,10 @@ msgstr "Con la versión pro puedes guardar y cargar archivos locales. Es perfect
msgid "Would you like to continue?"
msgstr "¿Te gustaría continuar?"

#: src/components/RequestTemplate.tsx:13
msgid "Would you like to suggest a new example?"
msgstr "¿Te gustaría sugerir un nuevo ejemplo?"

#: src/components/EditWithAI.tsx:216
msgid "Write your prompt here or click to enable the microphone, then press and hold to record."
msgstr "Escribe tu instrucción aquí o haz clic para activar el micrófono, luego mantén presionado para grabar."
Expand Down
2 changes: 1 addition & 1 deletion app/src/locales/fr/messages.js

Large diffs are not rendered by default.

Loading

0 comments on commit c9ffb55

Please sign in to comment.