Translations:Widget Weather/10/en: различия между версиями

Материал из SmartPlayer
Нет описания правки
Нет описания правки
 
Строка 1: Строка 1:
== Settings ==  
== Settings ==  
[[File:adaptive config ru.png|800px]]
[[File:Weather adaptive config ru.png|800px]]
# Language Selection
# Language Selection
## Russian
## Russian
Строка 21: Строка 21:
To check access, you need to connect a computer to the internal network and run the following command in the terminal: ''curl https://api.openweathermap.org/''. You should receive a response from the service, which will return data (any data is sufficient), the main thing is that the connection is not dropped due to timeout/forbidden (depends on the specific restricted network settings).
To check access, you need to connect a computer to the internal network and run the following command in the terminal: ''curl https://api.openweathermap.org/''. You should receive a response from the service, which will return data (any data is sufficient), the main thing is that the connection is not dropped due to timeout/forbidden (depends on the specific restricted network settings).
You may need to obtain an API key from api.openweathermap.org and provide it in the widget settings in the SmartPlayer personal account.
You may need to obtain an API key from api.openweathermap.org and provide it in the widget settings in the SmartPlayer personal account.
[[File:from 2024-07-10 14-03-40.png|mini|center]]
[[File:Screenshot from 2024-07-10 14-03-40.png|mini|center]]
''By default, a key provided by SmartPlayer is used (which may stop working for reasons beyond our control).''
''By default, a key provided by SmartPlayer is used (which may stop working for reasons beyond our control).''

Текущая версия от 12:41, 28 августа 2024

Информация о сообщении (править)
Это сообщение не имеет описания. Если вы знаете, где или как это сообщение используется, то можете помочь другим переводчикам, добавив к нему описание.
Определение сообщения (Widget Weather)
=== Настройки ===
[[Файл:Weather adaptive config ru.png|800px]]
# Выбор Языка
## Русский
## Английский
## Испанский
## Португальский
# Использовать адаптив - включение/отключение адаптивной вёрстки
# Отображать время - включение/отключение отображения время в выбранном городе (зависит от выбранного часового пояса)
# Цвет фона виджета - позволяет выбрать фон на котором отображается виджет
# Цвет шрифта виджета - позволяет выбрать цвет шрифта виджета
# Размер шрифта города - позволяет выбрать размер шрифта для отображения названия города
# Размер шрифта температуры - позволяет выбрать размер шрифта для отображения текущей температуры
# Название города - отображаемое название города
# Название города для сервера погоды (указывается на латинице) - название города для запроса к серверу погоды (указывается на английском языке)
# Часовой пояс относительно времени в UTC формате - часовой пояс города в UTC формате для отображения времени
# Отображать группу - отобразить или скрыть текущую группу (город)
=== Работа в ограниченной сети ===
Данный виджет получает данные с ресурса https://api.openweathermap.org/ в связи с чем, если данный виджет запускает в сети у которой ограничены доступы до внешних ресурсов, необходимо предоставить доступ к доменному имени api.openweathermap.org по 443 порту (по умолчанию для https). 
'''''Как проверить, что доступ к ресурсу есть из ограниченной сети''''' <br>
Для проверки доступа, необходимо подключить компьютер к внутренней сети и выполнить команду в терминал: ''curl https://api.openweathermap.org/'' должны получить ответ от сервиса и он вернет данные (могут быть любые), главное чтобы соединение не отключалось по timeoout/forbidden (зависит от настроек конкретной ограниченной сети)
Возможно для работы виджета необходимо будет получить ключ от сервиса данных api.openweathermap.org на свою личную почту. Ключ можно указать в настройках виджета в личном кабинете SmartPlayer.
[[Файл:Screenshot from 2024-07-10 14-03-40.png|мини|центр]]
''По умолчанию используется ключ от компании SmartPlayer (который может перестать работать по независимым от нас причинам).
''

Settings

  1. Language Selection
    1. Russian
    2. English
    3. Spanish
    4. Portuguese
  2. Use Adaptive Layout - enable/disable adaptive layout
  3. Display Time - enable/disable time display in the selected city (depends on the selected time zone)
  4. Widget Background Color - allows you to choose the background color for the widget
  5. Widget Font Color - allows you to choose the font color for the widget
  6. City Font Size - allows you to choose the font size for displaying the city name
  7. Temperature Font Size - allows you to choose the font size for displaying the current temperature
  8. City Name - the displayed city name
  9. City Name for Weather Server (specified in Latin alphabet) - the city name for the weather server request (specified in English)
  10. Time Zone Relative to UTC Format - the city's time zone in UTC format for displaying the time
  11. Display Group - show or hide the current group (city)

Operation in a Restricted Network

This widget retrieves data from https://api.openweathermap.org/. Therefore, if the widget is launched on a network with restricted access to external resources, you need to allow access to the domain name api.openweathermap.org on port 443 (default for HTTPS). How to check if access to the resource is available from a restricted network
To check access, you need to connect a computer to the internal network and run the following command in the terminal: curl https://api.openweathermap.org/. You should receive a response from the service, which will return data (any data is sufficient), the main thing is that the connection is not dropped due to timeout/forbidden (depends on the specific restricted network settings). You may need to obtain an API key from api.openweathermap.org and provide it in the widget settings in the SmartPlayer personal account.

mini
mini

By default, a key provided by SmartPlayer is used (which may stop working for reasons beyond our control).