initial commit. Cloned timetracker repository

This commit is contained in:
Daniel Goc
2026-03-10 09:02:57 +01:00
commit f2952bcef0
189 changed files with 21334 additions and 0 deletions

85
i18n/config_i18n.yaml Normal file
View File

@@ -0,0 +1,85 @@
# Database configuration (shared between Vue and Go extractors)
database:
type: postgres # "mysql" (default),sqlite or "postgres"
host: localhost
port: 5432
user: gitea
password: gitea
database: gitea
max_open_conns: 10
max_idle_conns: 5
# Vue.js extractor configuration
vue:
input: ~/coding/work/maal_aurrie/golden-panel/app
output: vue-keys.json
include:
- "**/*.vue"
- "**/*.js"
- "**/*.ts"
- "**/*.jsx"
- "**/*.tsx"
exclude:
- "**/node_modules/**"
- "**/dist/**"
- "**/.nuxt/**"
- "**/.output/**"
# Vue scope and components
scope_id: 3
language_ids:
- 1 # English
- 2 # Polish
- 3 # Czech
component_mapping:
general: 300
validate_error: 301
repo_chart: 302
save_to_file: true
save_to_db: false
remove_obsolete: false
# Go extractor configuration
go:
input: ~/coding/work/maal_aurrie
output: go-keys.json
include:
- "**/*.go"
- "**/*.tmpl"
- "**/*.html"
exclude:
- "**/vendor/**"
- "**/.git/**"
- "**/node_modules/**"
# Go scope and components
scope_id: 1
scope_name: "Backend"
language_ids:
- 1 # English
- 2 # Polish
- 3 # Czech
component_mapping:
be: 100 # backend general
error: 101
auth: 102
email: 103
default_component_id: 100 # Default component for keys without prefix
save_to_file: true
save_to_db: false
remove_obsolete: false
# Legacy configuration (for backward compatibility)
# Used when vue/go sections are not present
save:
scope_id: 1
scope_name: "Default"
language_ids:
- 1
component_mapping:
general: 1
component_names:
general: "General"
save_to_file: true
save_to_db: false
remove_obsolete: false