Units API

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

GET /api/units/1224299/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://weblate.ucs.ru/api/translations/shelter2/shelter_reports/en/?format=api",
    "source": "Отчёт относится к одной группе универсальных отчётов, таких как Универсальная карточка гостя, Ходатайство. Локализация печатной формы - только для России.#13#10#13#10ФИЛЬТР#13#10#13#10 В отчёт попадает список тех гостей, которые заехали по факту в указанный период по фильтру. При этом если гость заехал ранее указанного периода, то этот гость не попадёт в отчёт не зависимо от того, что он завершил или продолжил проживание в указанном периоде по фильтру.#13#10#13#10Выводить адрес прописки: позволяет выводить в отчет дополнительную колонку с адресами прописки гостей.#13#10#13#10Исключить иностранных граждан: позволяет исключить тех гостей, что не проживают в стране, которая указана в настройках системы по умолчанию (Настройки\\Настройка системы\\Гостиница:любой\\Значения по умолчанию\\страна). Т.о. исключается все гости, гражданство которых не принадлежит к стране указанной в настройках.#13#10#13#10Выбор вид документа: используется чтобы исключить гостей, которые не нужны в списке. Для этого удобно создать в справочнике Тип документа отдельную запись (строку), к примеру \"*Паспорт\" и далее присваивать соответствующим гостям, которых нужно исключить из списка в карточке гостя для \"Основное\\Документ\\Вид документа\". Т.о. в самом списке выбрать всё, кроме типа документа \"*паспорт\".#13#10#13#10О добавлении логотипа и карточки отеля подробно описано в отчёте \"Регистрационная карта гостя (универсальная)\", в настройках внешнего вида. Если отчёт \"Регистрационная карта гостя (универсальная)\" был настроен, то настраивать логотип и карточку отеля не нужно.#13#10#13#10Тексты \"Заголовок\", \"Содержимое\" и \"Подпись\" заполняется по усмотрению. #13#10#13#10 #13#10#13#10Для любого содержимого можно использовать следующие переменные, вставляя их в любо текст:#13#10#13#10Для гостиницы:#13#10#13#10   [qSelHotel.\"HOTELNAME\"] - название #13#10#13#10   [qSelHotel.\"POSTCODE\"] - индекс#13#10#13#10   [qSelHotel.\"COUNTRYNAME\"] - страна#13#10#13#10   [qSelHotel.\"CITY\"] - город, село#13#10#13#10   [qSelHotel.\"ADDRESS\"] - адрес#13#10#13#10   [qSelHotel.\"PHONES\"] - телефоны#13#10#13#10   [qSelHotel.\"MAILS\"] - электронная почта#13#10#13#10   [qSelHotel.\"WWW\"] - сайт#13#10#13#10 Другие переменные:#13#10#13#10   [vd1] - дата начала по фильтру#13#10#13#10   [vd2] - дата окончания по фильтру#13#10#13#10   [seladm] - текущий пользователь, администратор системы ",
    "previous_source": "",
    "target": "The report belongs to one group of universal reports, such as Universal Guest Card, Application. Localization of the printing form is only for Russia. #13#10#13#10 FILTER #13#10#13#10 The report includes a list of those guests who checked-in in fact during the specified period by filter. Moreover, if a guest checked-in earlier of the specified period, then this guest will not be included in the report, regardless of the fact that he completed or continued his stay in the period specified in the filter. #13#10#13#10Display registration address: allows you to display an additional column in the report with the registration addresses of guests. #13#10#13#10 Exclude foreign citizens: allows you to exclude those guests who do not live in the country specified in the system’s default settings (Settings \\ System Settings \\ Hotel: any \\ Default values \\ country). So, it excludes all guests whose citizenship is not specified in the settings. #13#10#13#10 Select the document type: used to exclude guests who not to be included in the list. To do this, it is convenient to create a separate entry (line) in the Document Type directory, for example, \"*Passport\" and then assign it to the corresponding guests, who should be excluded from the list in the guest card for \"Main \\ Document \\ Document Type\". So, in the list, it should to select everything except the document type \"*Passport\". #13#10#13#10 About adding a logo and hotel card, it is described in detail in the report \"Guest registration card (universal)\", in the appearance settings. If the report \"Guest Registration Card (universal)\" has been configured, then you do not need to configure the hotel logo and card. #13#10#13#10 Texts \"Title\", \"Content\", and \"Signature\" are filled at the discretion. #13#10#13#10#13#10#13#10 You can use the following variables for any content, inserting them into any text: #13#10#13#10 For the hotel: #13#10#13#10 [qSelHotel. \"HOTELNAME\"] – name #13#10#13#10 [qSelHotel. \"POSTCODE\"] – index #13#10#13#10 [qSelHotel. \"COUNTRYNAME\"] – country #13#10#13#10 [qSelHotel . \"CITY\"] - city, village #13#10#13#10 [qSelHotel. \"ADDRESS\"] – address #13#10#13#10 [qSelHotel. \"PHONES\"] – phones #13#10#13#10 [qSelHotel. \"MAILS\"] – email #13#10#13#10 [qSelHotel. \"WWW\"] – website #13#10#13#10 Other variables: #13#10#13#10 [vd1] - start date by filter #13#10#13#10 [vd2] - end date by filter #13#10#13#10 [seladm] - current user, system administrator ",
    "id_hash": -3779654276272080858,
    "content_hash": -8037492368037880907,
    "location": "",
    "context": "russian.xlf///reports_doc_migrdep_rus.fr3_data_mmcabout_text",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 5979,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 264,
    "priority": 100,
    "id": 1224299,
    "web_url": "http://weblate.ucs.ru/translate/shelter2/shelter_reports/en/?checksum=4b8bf87611043826",
    "url": "http://weblate.ucs.ru/api/units/1224299/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/164105/?format=api"
}