Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/components/libosinfo/osinfo-db-tools/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "osinfo-db-tools",
    "slug": "osinfo-db-tools",
    "id": 63,
    "source_language": {
        "id": 76,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 76,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://translate.fedoraproject.org/languages/en/",
        "url": "https://translate.fedoraproject.org/api/languages/en/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "libosinfo",
        "slug": "libosinfo",
        "id": 18,
        "web": "https://libosinfo.org/",
        "web_url": "https://translate.fedoraproject.org/projects/libosinfo/",
        "url": "https://translate.fedoraproject.org/api/projects/libosinfo/?format=api",
        "components_list_url": "https://translate.fedoraproject.org/api/projects/libosinfo/components/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/projects/libosinfo/repository/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/projects/libosinfo/statistics/?format=api",
        "categories_url": "https://translate.fedoraproject.org/api/projects/libosinfo/categories/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/projects/libosinfo/changes/?format=api",
        "languages_url": "https://translate.fedoraproject.org/api/projects/libosinfo/languages/?format=api",
        "labels_url": "https://translate.fedoraproject.org/api/projects/libosinfo/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "\nMailing list for translators: <trans@lists.fedoraproject.org\n",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "gitlab",
    "repo": "https://gitlab.com/libosinfo/osinfo-db-tools",
    "git_export": "https://translate.fedoraproject.org/git/libosinfo/osinfo-db-tools/",
    "branch": "main",
    "push_branch": "",
    "filemask": "po/*.po",
    "screenshot_filemask": "",
    "template": "",
    "edit_template": true,
    "intermediate": "",
    "new_base": "po/osinfo-db-tools.pot",
    "file_format": "po",
    "license": "GPL-2.0-or-later",
    "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
    "agreement": "because of how Weblate works and the upstream sign-off-by requirement, please confirm you accept The Fedora Project Contributor Agreement\r\n[Version 2015-02-03]\r\n\r\nGoal\r\n----\r\n\r\nWe require that contributors to Fedora (as defined below) agree to\r\nthis Fedora Project Contributor Agreement (FPCA) to ensure that\r\ncontributions to Fedora have acceptable licensing terms.\r\n\r\n\r\nNon-Goals\r\n---------\r\n\r\nThe FPCA is *not* a copyright assignment agreement.\r\n\r\nThe FPCA does *not* somehow supersede the existing licensing terms\r\nthat apply to Fedora contributions.  There are two important subpoints\r\nhere.  First, the FPCA does not apply to upstream code (or other\r\nmaterial) that you didn't write; indeed, it would be preposterous for\r\nit to attempt to do so.  Note the narrow way in which we have defined\r\ncapital-c \"Contribution\".  Second, the main provision of the FPCA\r\nspecifies that a default license will apply to code that you wrote,\r\nbut only to the extent that you have not bothered to put an explicit\r\nlicense on it. Therefore, the FPCA is *not* some sort of special\r\npermissive license granted to any party, despite the explicit choice\r\nof a more restrictive license by you or by upstream developers.\r\n\r\n\r\nTerms\r\n-----\r\n\r\n0.  Definitions.\r\n\r\n\"Acceptable License For Fedora\" means a license selected from the\r\nappropriate categorical sublist of the full list of acceptable\r\nlicenses for Fedora, currently located at\r\nhttps://fedoraproject.org/wiki/Licensing, as that list may be revised\r\nfrom time to time by the Fedora Council.  \"Acceptable Licenses\r\nFor Fedora\" means that full list.\r\n\r\n\"CC-BY-SA\" means the Creative Commons Attribution-ShareAlike 3.0\r\nUnported license, as published at\r\n<http://creativecommons.org/licenses/by-sa/3.0/legalcode>.\r\n\r\n\"Code\" means (i) software code, (ii) any other functional material\r\nwhose principal purpose is to control or facilitate the building of\r\npackages, such as an RPM spec file, (iii) font files, and (iv) other\r\nkinds of copyrightable material that the Fedora Council has\r\nclassified as \"code\" rather than \"content\".\r\n\r\n\"Content\" means any copyrightable material that is not Code, such as,\r\nwithout limitation, (i) non-functional data sets, (ii) documentation,\r\n(iii) wiki edits, (iv) music files, (v) graphic image files, (vi) help\r\nfiles, and (vii) other kinds of copyrightable material that the Fedora\r\nCouncil has classified as \"content\" rather than \"code\".\r\n\r\n\"Contribution\" means a Work that You created, excluding any portion\r\nthat was created by someone else.  (For example, if You Submit a\r\npackage to Fedora, the spec file You write may be a Contribution, but\r\nall the upstream code in the associated SRPM that You did not write is\r\nnot a Contribution for purposes of this FPCA.)  A Contribution\r\nconsists either of Code or of Content.\r\n\r\n\"Current Default License\", with respect to a Contribution, means (i)\r\nif the Contribution is Code, the MIT License, and (ii) if the\r\nContribution is Content, CC-BY-SA supplemented by Moral Rights Clause\r\nWaiver and GPL Relicensing Permission.\r\n\r\n\"Fedora\" means the community project led by the Fedora Council\r\n<https://fedoraproject.org/wiki/Council>.\r\n\r\n\"Fedora Community\" means (i) all Fedora participants, and (ii) all\r\npersons receiving Contributions directly or indirectly from or through\r\nFedora.\r\n\r\n\"GPL\" means the GNU General Public License, version 2 or any later\r\nversion published by the Free Software Foundation, or the GNU Affero\r\nGeneral Public License, version 3 or any later version published by\r\nthe Free Software Foundation.\r\n\r\n\"GPL-Covered Derivative\" of a Contribution means an adaptation or\r\nderivative work of the Contribution, or a compilation that includes\r\nthe Contribution (or such adaptation or derivative work), where such\r\nadaptation, derivative work, or compilation, if distributed or made\r\navailable to the public, would be required to be licensed under the\r\nGPL because it is based on or includes a Work governed by the GPL.\r\n\r\n\"GPL Relicensing Permission\", with respect to a Contribution licensed\r\nunder CC-BY-SA, means a grant of additional copyright permission to\r\ndistribute or make available to the public a copy of a GPL-Covered\r\nDerivative of the Contribution under the terms of the applicable\r\nversion of the GPL, with no conditions of CC-BY-SA that would be\r\ntreated as \"further restrictions\" within the meaning of the applicable\r\nversion of the GPL surviving such distribution with respect to that\r\ncopy.\r\n\r\n\"Licensed\" means covered by explicit licensing terms that are\r\nconspicuous and readily discernible to recipients.\r\n\r\n\"MIT License\" means the license identified as \"Modern Style with\r\nsublicense\" at\r\n<https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense>.\r\n\r\n\"Moral Rights Clause Waiver\" means a waiver of the right to enforce,\r\nand an agreement not to assert, Section 4d of CC-BY-SA against the\r\nFedora Community, to the fullest extent permitted by applicable law.\r\n\r\n\"Submit\" means to use some mode of digital communication (for example,\r\nwithout limitation, mailing lists, bug tracking systems, and source\r\ncode version control systems administered by Fedora) to voluntarily\r\nprovide a Contribution to Fedora.\r\n\r\n\"Unlicensed\" means not Licensed.\r\n\r\n\"Work\" means a copyrightable work of authorship. A Work may be a\r\nportion of a larger Work, and a Work may be a modification of or\r\naddition to another Work.\r\n\r\n\"You\" means the individual accepting this instance of the FPCA.\r\n\r\n\r\n1. Copyright Permission Required for All Contributions.\r\n\r\nIf You are not the copyright holder of a given Contribution that You\r\nwish to Submit to Fedora (for example, if Your employer or university\r\nholds copyright in it), it is Your responsibility to first obtain\r\nauthorization from the copyright holder to Submit the Contribution\r\nunder the terms of this FPCA on behalf of, or otherwise with the\r\npermission of, that copyright holder.  One form of such authorization\r\nis for the copyright holder to place, or permit You to place, an\r\nAcceptable License For Fedora on the Contribution.\r\n\r\n\r\n2.  Licensed Contributions.\r\n\r\nIf Your Contribution is Licensed, Your Contribution will be governed\r\nby the terms under which it has been licensed.\r\n\r\n\r\n3.  Default Licensing of Unlicensed Contributions.\r\n\r\nIf You Submit an Unlicensed Contribution to Fedora, the license to the\r\nFedora Community for that Contribution shall be the Current Default\r\nLicense.\r\n\r\nThe Fedora Council may, by public announcement, subsequently\r\ndesignate an additional or alternative default license for a given\r\ncategory of Contribution (a \"Later Default License\"). A Later Default\r\nLicense shall be chosen from the appropriate categorical sublist of\r\nAcceptable Licenses For Fedora.\r\n\r\nOnce a Later Default License has been designated, Your Unlicensed\r\nContribution shall also be licensed to the Fedora Community under that\r\nLater Default License.  Such designation shall not affect the\r\ncontinuing applicability of the Current Default License to Your\r\nContribution.\r\n\r\nYou consent to having Fedora provide reasonable notice of Your\r\nlicensing of Your Contribution under the Current Default License (and,\r\nif applicable, a Later Default License) in a manner determined by\r\nFedora.\r\n\r\n4.  Public Domain United States Government Works.\r\n\r\nSections 1 through 3 of this FPCA do not apply to any Contribution to\r\nthe extent that it is a work of the United States Government for which\r\ncopyright is unavailable under 17 U.S.C. 105.\r\n \r\n5.  Acceptance.\r\n\r\nYou must signify Your assent to the terms of this FPCA through\r\nspecific electronic means established by Fedora (such as by\r\nclick-through acceptance means).\r\n\r\nYou may also, at Your option, and without eliminating the requirement\r\nset forth in the preceding paragraph, send a copy of this FPCA,\r\nbearing Your written signature indicating Your acceptance of its\r\nterms, by email to legal@fedoraproject.org, by fax to +1 919 754 3704,\r\nor by postal mail to:\r\n\r\n  Fedora Legal\r\n  c/o Red Hat, Inc.\r\n  100 East Davie Street\r\n  Raleigh, NC 27601\r\n  USA",
    "web_url": "https://translate.fedoraproject.org/projects/libosinfo/osinfo-db-tools/",
    "url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/?format=api",
    "repository_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/repository/?format=api",
    "translations_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/translations/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/statistics/?format=api",
    "lock_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/lock/?format=api",
    "links_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/links/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/components/libosinfo/osinfo-db-tools/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://gitlab.com/libosinfo/osinfo-db-tools",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [
        "c_format"
    ],
    "restricted": false,
    "repoweb": "https://gitlab.com/libosinfo/osinfo-db-tools/blob/{{branch}}/{{filename}}#L{{line}}",
    "report_source_bugs": "",
    "merge_style": "rebase",
    "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}\r\n\r\nSigned-off-by: {{ author }}",
    "add_message": "Added translation using Weblate ({{ language_name }})\r\n\r\nSigned-off-by: {{ author }}",
    "delete_message": "Deleted translation using Weblate ({{ language_name }})\r\n\r\nSigned-off-by: {{ author }}",
    "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.",
    "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}\r\nSigned-off-by: Weblate <noreply@weblate.org>",
    "pull_message": "Translations update from {{ site_title }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
    "allow_translation_propagation": true,
    "manage_units": false,
    "enable_suggestions": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 12,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://translate.fedoraproject.org/api/addons/138/?format=api",
        "https://translate.fedoraproject.org/api/addons/6412/?format=api",
        "https://translate.fedoraproject.org/api/addons/142/?format=api",
        "https://translate.fedoraproject.org/api/addons/6413/?format=api",
        "https://translate.fedoraproject.org/api/addons/136/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}