Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
904 changes: 904 additions & 0 deletions examples/talking_planets.flock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,12 @@ <h2 id="modal-title" data-i18n="about_heading">
<option data-i18n="beetle" value="examples/beetle.flock">
🪲 Beetle
</option>
<option
data-i18n="talking_planets"
value="examples/talking_planets.flock"
>
🔭 Talking Planets
</option>
</select>
<div id="demo-desc" class="sr-only">
Select from pre-built example projects to explore different
Expand Down
1 change: 1 addition & 0 deletions locale/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ export default {
tree_jump_ui: "🌳 Baum-Sprung",
shape_push_ui: "🔶 Form schieben",
alien_planet_ui: "👽 Alien-Planet",
talking_planets_ui: "🔭 Talking Planets",

main_menu_ui: "Hauptmenü",
menu_button_sr_label_ui: "Menü",
Expand Down
1 change: 1 addition & 0 deletions locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ export default {
tree_jump_ui: "🌳 Tree jump",
shape_push_ui: "🔶 Shape push",
alien_planet_ui: "👽 Alien planet",
talking_planets_ui: "🔭 Talking Planets",
main_menu_ui: "Main menu",
menu_button_sr_label_ui: "Menu",
project_submenu_ui: "Project",
Expand Down
1 change: 1 addition & 0 deletions locale/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,7 @@ export default {
tree_jump_ui: "🌳 Salto de árbol", // human
shape_push_ui: "🔶 Empujar forma", // human
alien_planet_ui: "👽 Planeta alienígena", // human
talking_planets_ui: "🔭 Talking Planets",
character_designer_ui: "👚 Diseñador de personajes", // human
sit_down_ui: "🪑 Siéntate", // human

Expand Down
1 change: 1 addition & 0 deletions locale/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,7 @@ export default {
tree_jump_ui: "🌳 Saut d’arbre",
shape_push_ui: "🔶 Pousser la forme",
alien_planet_ui: "👽 Planète alien",
talking_planets_ui: "🔭 Talking Planets",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Localize this example title in French.

Everything else in this examples section is translated, so leaving the new label in English will make the dropdown partially untranslated for French users.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@locale/fr.js` at line 1015, Translate the English example title value for the
key talking_planets_ui into French so the examples dropdown is fully localized;
replace "🔭 Talking Planets" with an appropriate French phrase (e.g., "🔭
Planètes parlantes" or another agreed-upon translation) by updating the
talking_planets_ui entry in locale/fr.js.

character_designer_ui: "👚 Créateur de personnages",

sit_down_ui: "🪑 Assieds-toi",
Expand Down
1 change: 1 addition & 0 deletions locale/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,7 @@ export default {
tree_jump_ui: "🌳 Salto dall'albero",
shape_push_ui: "🔶 Spinta forma",
alien_planet_ui: "👽 Pianeta alieno",
talking_planets_ui: "🔭 Talking Planets",

main_menu_ui: "Menu principale",
menu_button_sr_label_ui: "Menu",
Expand Down
1 change: 1 addition & 0 deletions locale/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ export default {
tree_jump_ui: "🌳 Skok z drzewa",
shape_push_ui: "🔶 Pchnięcie kształtu",
alien_planet_ui: "👽 Obca planeta",
talking_planets_ui: "🔭 Talking Planets",
character_designer_ui: "👚 Kreator postaci",
sit_down_ui: "🪑 Usiądź",

Expand Down
1 change: 1 addition & 0 deletions locale/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@ export default {
tree_jump_ui: "🌳 Salto da árvore",
shape_push_ui: "🔶 Empurrar forma",
alien_planet_ui: "👽 Planeta alienígena",
talking_planets_ui: "🔭 Talking Planets",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Localize this example title in Portuguese.

This section already translates the other example names, so keeping the new one in English creates a mixed-language examples list.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@locale/pt.js` at line 1007, The localized Portuguese file currently has the
example title for key talking_planets_ui in English ("🔭 Talking Planets");
update the value to a natural Portuguese translation (e.g., "🔭 Planetas
Falantes" or "🔭 Planetas que Falam") so the examples list is fully localized
under the talking_planets_ui key.

character_designer_ui: "👚 Criador de personagens",
sit_down_ui: "🪑 Senta-te",

Expand Down
1 change: 1 addition & 0 deletions locale/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,7 @@ export default {
tree_jump_ui: "🌳 Träd-hopp",
shape_push_ui: "🔶 Skjuta form",
alien_planet_ui: "👽 Alienplanet",
talking_planets_ui: "🔭 Talking Planets",
character_designer_ui: "👚 Karaktärsdesign",
sit_down_ui: "🪑 Sätt dig",

Expand Down
Loading