mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
- Add useTranslate() hook for reactive translations in SolidJS - Include example translation files (en.json, de.json) - Update Vite plugin to copy i18n folder during build - Add i18n message handlers to plugin.ts - Demonstrate i18n usage in App.tsx with ~10 translation keys - Update documentation with comprehensive i18n guide - Add i18n to features list in main plugin-dev README The boilerplate now provides a complete working example of multi-language plugin support, making it easy for developers to create internationalized plugins.
30 lines
738 B
JSON
30 lines
738 B
JSON
{
|
|
"APP": {
|
|
"TITLE": "Solid.js Boilerplate Plugin",
|
|
"SUBTITLE": "Built with Super Productivity Plugin API"
|
|
},
|
|
"STATS": {
|
|
"TOTAL_TASKS": "Total Tasks",
|
|
"COMPLETED_TODAY": "Completed Today",
|
|
"PENDING": "Pending"
|
|
},
|
|
"TASK": {
|
|
"CREATE_NEW": "Create New Task",
|
|
"ENTER_TITLE": "Enter task title...",
|
|
"NO_PROJECT": "No Project",
|
|
"CREATE_BUTTON": "Create Task",
|
|
"RECENT_TASKS": "Recent Tasks",
|
|
"CREATED_SUCCESS": "Task \"{{title}}\" created!"
|
|
},
|
|
"SETTINGS": {
|
|
"TITLE": "Settings",
|
|
"THEME": "Theme",
|
|
"THEME_LIGHT": "Light",
|
|
"THEME_DARK": "Dark",
|
|
"SHOW_COMPLETED": "Show completed tasks"
|
|
},
|
|
"BUTTONS": {
|
|
"REFRESH": "Refresh Data"
|
|
},
|
|
"LOADING": "Loading..."
|
|
}
|