Skip to content

stoic-quote@orion: add more quotes#1848

Open
WanderingBread0 wants to merge 1 commit into
linuxmint:masterfrom
WanderingBread0:stoic-quote-more-quotes
Open

stoic-quote@orion: add more quotes#1848
WanderingBread0 wants to merge 1 commit into
linuxmint:masterfrom
WanderingBread0:stoic-quote-more-quotes

Conversation

@WanderingBread0

@WanderingBread0 WanderingBread0 commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Expands the curated corpus from 63 to 122 quotes and broadens the roster of authors. Version bumped to 0.2.0.

New content

  • 59 new quotes total: 30 from a first round across the existing 7 authors, plus 29 from a second round that branches out to proto-Stoic / Stoic-adjacent thinkers.
  • 5 new authors: Heraclitus (4 quotes), Diogenes the Cynic (4), Antisthenes (1), Cato the Younger (1), Hierocles (1). All sourced from Diogenes Laertius's Lives, Stobaeus's Anthology, Plutarch, the Heraclitus fragments, and Elements of Ethics.
  • Every new text / author / source is wrapped in _() so xgettext extracts them and translators can localize the whole data set.
  • metadata.json description updated to reflect the broader roster.

Code cleanup

  • Timer callback in _scheduleNextRefresh returns GLib.SOURCE_REMOVE (named constant) instead of false, per the contributor guidelines.

Translations

  • po/stoic-quote@orion.pot regenerated with cinnamon-spices-makepot — 132 → 232 unique msgids.
  • Existing po/es.po (from stoic-quote@orion - Add Spanish translation #1835) and po/hu.po (from Hungarian translation update for Cinnamon Desklets #1843) merged via msgmerge --previous:
    • Existing translations preserved verbatim.
    • New strings appear as untranslated entries.
    • Near-matches (e.g. a new "Discourses, 1.24" citation alongside an existing "Discourses, 3.24") are marked #, fuzzy with the previous translation seeded as a starting point — so the next pass for translators is a quick verify, not a rewrite.

Test plan

  • JS syntax-checked locally (node --check on desklet.js and quotes.js)
  • JSON validated (metadata.json, settings-schema.json)
  • .pot regenerated and inspected; new authors and quotes present
  • msgmerge round-trips both .po files cleanly; existing translations intact
  • All changes confined to stoic-quote@orion/
  • No forbidden file types (binaries, .mo, minified, .c/.cpp)

Expand the curated corpus from 63 to 122 quotes and broaden the
roster of authors. Bumps to v0.2.0.

Content:
- 59 new quotes added across both existing and new authors.
- New authors: Heraclitus (4), Diogenes the Cynic (4), Antisthenes (1),
  Cato the Younger (1), Hierocles (1) — all proto-Stoic or Stoic
  exemplars whose work informed or paralleled the seven already
  represented.
- Each text/author/source is wrapped in _() so xgettext extracts every
  string and translators can localize the full data set.
- metadata.json description updated to reflect the broader roster.

Code cleanup:
- Timer callback in _scheduleNextRefresh now returns GLib.SOURCE_REMOVE
  (named constant) instead of the boolean false, per the contributor
  guidelines.

Translations:
- po/stoic-quote@orion.pot regenerated via cinnamon-spices-makepot
  (132 -> 232 unique msgids).
- po/es.po and po/hu.po merged via msgmerge --previous so existing
  translations are preserved; new strings appear as untranslated, and
  near-matches (e.g. new book/chapter citations that resemble existing
  ones) are marked fuzzy with the previous translation as a starting
  point for the translator.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant