Skip to content

[I18N] *: add config file for weblate #14134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.mo
.*
!.gitattributes
!.weblate.json
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why put it in the .gitignore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a negation. All dot-files are ignored before, and here we are "un"ignoring the .weblate.json file.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Indeed, I missed the !


# Sphinx build files
_build/
Expand Down
81 changes: 81 additions & 0 deletions .weblate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"projects": {
"odoo-18-doc": [
{
"name": "administration",
"filemask": "locale/*/LC_MESSAGES/administration.po",
"new_base": "locale/sources/administration.pot"
},
{
"name": "applications",
"filemask": "locale/*/LC_MESSAGES/applications.po",
"new_base": "locale/sources/applications.pot"
},
{
"name": "essentials",
"filemask": "locale/*/LC_MESSAGES/essentials.po",
"new_base": "locale/sources/essentials.pot"
},
{
"name": "finance",
"filemask": "locale/*/LC_MESSAGES/finance.po",
"new_base": "locale/sources/finance.pot"
},
{
"name": "general",
"filemask": "locale/*/LC_MESSAGES/general.po",
"new_base": "locale/sources/general.pot"
},
{
"name": "hr",
"filemask": "locale/*/LC_MESSAGES/hr.po",
"new_base": "locale/sources/hr.pot"
},
{
"name": "index",
"filemask": "locale/*/LC_MESSAGES/index.po",
"new_base": "locale/sources/index.pot"
},
{
"name": "inventory_and_mrp",
"filemask": "locale/*/LC_MESSAGES/inventory_and_mrp.po",
"new_base": "locale/sources/inventory_and_mrp.pot"
},
{
"name": "marketing",
"filemask": "locale/*/LC_MESSAGES/marketing.po",
"new_base": "locale/sources/marketing.pot"
},
{
"name": "productivity",
"filemask": "locale/*/LC_MESSAGES/productivity.po",
"new_base": "locale/sources/productivity.pot"
},
{
"name": "sales",
"filemask": "locale/*/LC_MESSAGES/sales.po",
"new_base": "locale/sources/sales.pot"
},
{
"name": "services",
"filemask": "locale/*/LC_MESSAGES/services.po",
"new_base": "locale/sources/services.pot"
},
{
"name": "studio",
"filemask": "locale/*/LC_MESSAGES/studio.po",
"new_base": "locale/sources/studio.pot"
},
{
"name": "user_settings",
"filemask": "locale/*/LC_MESSAGES/settings.po",
"new_base": "locale/sources/settings.pot"
},
{
"name": "websites",
"filemask": "locale/*/LC_MESSAGES/websites.po",
"new_base": "locale/sources/websites.pot"
}
]
}
}