Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/galette/doc-user-pdf_models/ca/units/?format=api
https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "PDF models" ], "previous_source": "", "target": [ "Models PDF" ], "id_hash": -8325189916524249218, "content_hash": -8325189916524249218, "location": "../usermanual/pdf_models.rst:5, d16a73f2eec64382be813390f87e062c", "context": "", "note": "d16a73f2eec64382be813390f87e062c", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/17707890/?format=api", "priority": 100, "id": 17708118, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=0c76fbe131e87f7e", "url": "https://hosted.weblate.org/api/units/17708118/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.732326+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "PDF models are provided for several outputs : an invoice model, a receipt model and a membership from model are currently available. All of them inherits from a `Global` model." ], "previous_source": "", "target": [ "" ], "id_hash": -7906789639714007873, "content_hash": -7906789639714007873, "location": "../usermanual/pdf_models.rst:7, 96cb9421538941e38a391868bb5a27ce", "context": "", "note": "96cb9421538941e38a391868bb5a27ce", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://hosted.weblate.org/api/units/17707901/?format=api", "priority": 100, "id": 17708125, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=124570b6f31b94bf", "url": "https://hosted.weblate.org/api/units/17708125/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.770953+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Models inheritance" ], "previous_source": "", "target": [ "" ], "id_hash": 5513374110259605011, "content_hash": 5513374110259605011, "location": "../usermanual/pdf_models.rst:15, 3f47123045c44997b7b599dd611fc47a", "context": "", "note": "3f47123045c44997b7b599dd611fc47a", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/17707907/?format=api", "priority": 100, "id": 17708126, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=cc83708acbdbee13", "url": "https://hosted.weblate.org/api/units/17708126/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.783196+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "The global model defines three distincts parts:" ], "previous_source": "", "target": [ "" ], "id_hash": -6155691380334948459, "content_hash": -6155691380334948459, "location": "../usermanual/pdf_models.rst:17, f2868b0991074dafb33a8eaca031ae3d", "context": "", "note": "f2868b0991074dafb33a8eaca031ae3d", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://hosted.weblate.org/api/units/17707915/?format=api", "priority": 100, "id": 17708129, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=2a92974dc8338f95", "url": "https://hosted.weblate.org/api/units/17708129/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.800318+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "header," ], "previous_source": "", "target": [ "" ], "id_hash": -2121258980319155836, "content_hash": -2121258980319155836, "location": "../usermanual/pdf_models.rst:19, 9677543b8f084a4cb0be4b7db5824d7d", "context": "", "note": "9677543b8f084a4cb0be4b7db5824d7d", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/17707922/?format=api", "priority": 100, "id": 17708131, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=628fc63241782984", "url": "https://hosted.weblate.org/api/units/17708131/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.816133+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "footer," ], "previous_source": "", "target": [ "" ], "id_hash": 6608330976714068981, "content_hash": 6608330976714068981, "location": "../usermanual/pdf_models.rst:20, f25efe84e91547f5ad3a0f613bac10aa", "context": "", "note": "f25efe84e91547f5ad3a0f613bac10aa", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/17707929/?format=api", "priority": 100, "id": 17708134, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=dbb58202c94093f5", "url": "https://hosted.weblate.org/api/units/17708134/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.836405+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "CSS styles." ], "previous_source": "", "target": [ "" ], "id_hash": -3710811947416111611, "content_hash": -3710811947416111611, "location": "../usermanual/pdf_models.rst:21, fb0633cd2723449982e52dada96f3801", "context": "", "note": "fb0633cd2723449982e52dada96f3801", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/17707934/?format=api", "priority": 100, "id": 17708137, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=4c808c31cdfcb605", "url": "https://hosted.weblate.org/api/units/17708137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.854103+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Each model which inherits from `Global` will automatically obtain same header and footer except if the new model redefines them, in which case only specific values will be applied." ], "previous_source": "", "target": [ "" ], "id_hash": 806897661280852181, "content_hash": 806897661280852181, "location": "../usermanual/pdf_models.rst:23, 2f91f1a54da04be99a9ebdeeb2c961e9", "context": "", "note": "2f91f1a54da04be99a9ebdeeb2c961e9", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://hosted.weblate.org/api/units/17707941/?format=api", "priority": 100, "id": 17708141, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=8b32ad25d6bd18d5", "url": "https://hosted.weblate.org/api/units/17708141/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.879523+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Generalities" ], "previous_source": "", "target": [ "Generalitats" ], "id_hash": -1113827290690337752, "content_hash": -1113827290690337752, "location": "../usermanual/pdf_models.rst:28, 18028586cc404605b575cace3f08bc8f", "context": "", "note": "18028586cc404605b575cace3f08bc8f", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://hosted.weblate.org/api/units/17707954/?format=api", "priority": 100, "id": 17708147, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=708ae3fafd444428", "url": "https://hosted.weblate.org/api/units/17708147/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.920486+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "In addition of header, footer and CSS styles, a model defines a title, a sub title and a body." ], "previous_source": "", "target": [ "" ], "id_hash": 2562294037671644893, "content_hash": 2562294037671644893, "location": "../usermanual/pdf_models.rst:30, 514847b03f1645cca71ce658d425006b", "context": "", "note": "514847b03f1645cca71ce658d425006b", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://hosted.weblate.org/api/units/17707962/?format=api", "priority": 100, "id": 17708152, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=a38f18da05850edd", "url": "https://hosted.weblate.org/api/units/17708152/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:55.953166+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Invoices and receipts" ], "previous_source": "", "target": [ "" ], "id_hash": 5400160936101817991, "content_hash": 5400160936101817991, "location": "../usermanual/pdf_models.rst:37, 13da33a36db64a4c96c92bf4ba19b86e", "context": "", "note": "13da33a36db64a4c96c92bf4ba19b86e", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/17707985/?format=api", "priority": 100, "id": 17708160, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=caf139c2964a2e87", "url": "https://hosted.weblate.org/api/units/17708160/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:56.004567+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Invoice and receipt models are the same, excepting their titles." ], "previous_source": "", "target": [ "" ], "id_hash": 1881762000911781482, "content_hash": 1881762000911781482, "location": "../usermanual/pdf_models.rst:39, 87197e2d52b743d9b0362facef8747e1", "context": "", "note": "87197e2d52b743d9b0362facef8747e1", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://hosted.weblate.org/api/units/17707995/?format=api", "priority": 100, "id": 17708162, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=9a1d5c91e02cce6a", "url": "https://hosted.weblate.org/api/units/17708162/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:56.026675+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "As you can see in the above screenshot, invoice model does not define any header, footer or CSS styles, the ones form the `Global` model are used." ], "previous_source": "", "target": [ "" ], "id_hash": 5327248038027403162, "content_hash": 5327248038027403162, "location": "../usermanual/pdf_models.rst:46, 81316cb5e5a14037b0af6b42c62ffa1e", "context": "", "note": "81316cb5e5a14037b0af6b42c62ffa1e", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://hosted.weblate.org/api/units/17708002/?format=api", "priority": 100, "id": 17708165, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=c9ee2fdd99051f9a", "url": "https://hosted.weblate.org/api/units/17708165/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:56.049254+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Membership form" ], "previous_source": "", "target": [ "" ], "id_hash": 3883805671865371818, "content_hash": 3883805671865371818, "location": "../usermanual/pdf_models.rst:49, 1195c0c6d5384d3eb41a5efa90800e4a", "context": "", "note": "1195c0c6d5384d3eb41a5efa90800e4a", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://hosted.weblate.org/api/units/17708009/?format=api", "priority": 100, "id": 17708168, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=b5e60cae682eccaa", "url": "https://hosted.weblate.org/api/units/17708168/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:56.067350+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Since there are many limitation, you may use the :doc:`FullCard plugin </plugins/fullcard>` that will replace this model. It is more complex to change, but you can do many more with it. You can also create your own plugin based on FullCard." ], "previous_source": "", "target": [ "" ], "id_hash": 6095186977223447932, "content_hash": 6095186977223447932, "location": "../usermanual/pdf_models.rst:53, 3cfab6378f114b25ad54a51127100c72", "context": "", "note": "3cfab6378f114b25ad54a51127100c72", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 41, "source_unit": "https://hosted.weblate.org/api/units/17708022/?format=api", "priority": 100, "id": 17708174, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=d496744318fd957c", "url": "https://hosted.weblate.org/api/units/17708174/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-06-20T08:19:56.101835+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "PDF models management" ], "previous_source": "", "target": [ "" ], "id_hash": -8369195176572710030, "content_hash": -8369195176572710030, "location": "../usermanual/pdf_models.rst:-1, 46c716eef77141f68a210ebf5a65248d", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/79261649/?format=api", "priority": 100, "id": 79261658, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=0bdaa5542c789372", "url": "https://hosted.weblate.org/api/units/79261658/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-11T07:29:36.004022+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Invoice PDF model" ], "previous_source": "", "target": [ "" ], "id_hash": -8444183324244487751, "content_hash": -8444183324244487751, "location": "../usermanual/pdf_models.rst:-1, 9fa47760bbc0423880c05a1f2ce6902c", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://hosted.weblate.org/api/units/79261651/?format=api", "priority": 100, "id": 79261660, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=0ad03c017c2151b9", "url": "https://hosted.weblate.org/api/units/79261660/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-11T07:29:36.041727+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "For CSS properties it is a bit different: `Global` model properties will always be applied, and specific model properties will be appended (just like real CSS stylesheets)." ], "previous_source": "", "target": [ "" ], "id_hash": 5506945680197508041, "content_hash": 5506945680197508041, "location": "../usermanual/pdf_models.rst:25, fb19833be15644cfbe98f65537d0b31b", "context": "", "note": "fb19833be15644cfbe98f65537d0b31b", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://hosted.weblate.org/api/units/121055855/?format=api", "priority": 100, "id": 121055867, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=cc6c99eb498b5bc9", "url": "https://hosted.weblate.org/api/units/121055867/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-14T07:19:03.209131+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Each of those fields can take some replacement values, refer to the inline help from the user interface to get details. They also can contains internationalized texts like `_T(\"My text\")` that relies on Galette standard translation capacities." ], "previous_source": "", "target": [ "" ], "id_hash": 1965767724984718955, "content_hash": 1965767724984718955, "location": "../usermanual/pdf_models.rst:32, 7799205d9ec94bde904af0eea99e655d", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 37, "source_unit": "https://hosted.weblate.org/api/units/121055856/?format=api", "priority": 100, "id": 121055868, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=9b47cf54aea4566b", "url": "https://hosted.weblate.org/api/units/121055868/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-14T07:19:03.212090+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "Models rely on HTML and CSS styles, but keep in mind we are building a PDF file, and not displaying a page in a recent browser; there are many limitations." ], "previous_source": "", "target": [ "" ], "id_hash": -5900871568046924281, "content_hash": -5900871568046924281, "location": "../usermanual/pdf_models.rst:34, 5c5cbe88aa964926a2ab04f76292fd39", "context": "", "note": "5c5cbe88aa964926a2ab04f76292fd39", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://hosted.weblate.org/api/units/121055857/?format=api", "priority": 100, "id": 121055869, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=2e1be492b15c5e07", "url": "https://hosted.weblate.org/api/units/121055869/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-14T07:19:03.214361+02:00" }, { "translation": "https://hosted.weblate.org/api/translations/galette/doc-user-pdf_models/ca/?format=api", "source": [ "It is a model that can be used to print a membership form. It can be empty (to print some of them for any event for example) or filled with one member information." ], "previous_source": "", "target": [ "" ], "id_hash": 5617682850759138748, "content_hash": 5617682850759138748, "location": "../usermanual/pdf_models.rst:51, cf1c6206876d4ada90aa90e05dff5b85", "context": "", "note": "cf1c6206876d4ada90aa90e05dff5b85", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://hosted.weblate.org/api/units/121055858/?format=api", "priority": 100, "id": 121055870, "web_url": "https://hosted.weblate.org/translate/galette/doc-user-pdf_models/ca/?checksum=cdf604c9fc4d5dbc", "url": "https://hosted.weblate.org/api/units/121055870/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-04-14T07:19:03.218130+02:00" } ] }{ "count": 21, "next": null, "previous": null, "results": [ { "translation": "