Skip to content

Commit 7d166f9

Browse files
authored
Merge pull request #35 from yurtpage/fastlane-i18n
ru i18n
2 parents cd4646c + 3848cc7 commit 7d166f9

File tree

6 files changed

+61
-7
lines changed

6 files changed

+61
-7
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="app_name">Ojo</string>
4+
<!-- Strings used for fragments for navigation -->
5+
<string name="first_fragment_label">Первый Фрагмент</string>
6+
<string name="second_fragment_label">Второй Фрагмент</string>
7+
8+
<string name="fab_add_camera">Добавить</string>
9+
10+
<string name="stream_list_default_camera_name">VidБезымянная камера №{camNo}</string>
11+
12+
<string name="add_stream_placeholder_url">rtsp://username:password@192.168.1.123:554</string>
13+
<string name="add_stream_placeholder_name">Название IP камеры</string>
14+
<string name="add_stream_name">Нзвание потока IP камеры</string>
15+
<string name="add_stream_save">Сохранить</string>
16+
<string name="add_stream_invalid_url">Неправильный RTSP URL</string>
17+
<string name="add_stream_invalid_url_dismiss">Закрыть</string>
18+
<string name="add_stream_error_saving">Произошла ошибка при сохранении конфигурации</string>
19+
<string name="add_stream">Пожалуйста введите RTSP поток вашей камеры. Обратите внимание, что URL отличается от камеры к камере: вы можете найти полный URL адрес в настройках вашей камеры или руководстве пользователя.</string>
20+
<string name="menuitem_allow_rotation">Разрешить вращение экрана</string>
21+
<string name="menuitem_deny_rotation">Только альбомная</string>
22+
<string name="menuitem_info">Инфо</string>
23+
<string name="menuitem_add_camera">Добавить</string>
24+
25+
<string name="app_info_title">О программе</string>
26+
<string name="app_info_creator_desc">Автор: Daniele Verducci.</string>
27+
<string name="app_info_license_desc">Это приложение лицензировано в соответствии с GNU GENERAL PUBLIC LICENSE v3+. Ознакомьтесь тут: https://raw.githubusercontent.com/penguin86/ojo/master/LICENSE</string>
28+
<string name="app_info_repo_desc">Исходный код в репозитории на GitHub:: https://github.com/penguin86/ojo</string>
29+
<string name="app_info_lib_desc">Это приложение стало возможным благодаря усилиям команды VLC и VLC-Android! Вы можете узнать больше или получить исходный код тут: https://code.videolan.org/videolan/vlc-android</string>
30+
31+
</resources>

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
<string name="app_info_title">About Ojo</string>
2525
<string name="app_info_creator_desc">Created by Daniele Verducci.</string>
2626
<string name="app_info_license_desc">This application is licensed under the GNU GENERAL PUBLIC LICENSE v3+. You can obtain a copy here: https://raw.githubusercontent.com/penguin86/ojo/master/LICENSE</string>
27-
<string name="app_info_repo_desc">The source code can be obtained at the github repository: https://github.com/penguin86/ojo</string>
28-
<string name="app_info_lib_desc">This app is made possible by the gourgeous vlc and vlc-android teams effort! You can know more or obtain the source code at https://code.videolan.org/videolan/vlc-android</string>
27+
<string name="app_info_repo_desc">The source code can be obtained at the GitHub repository: https://github.com/penguin86/ojo</string>
28+
<string name="app_info_lib_desc">This app is made possible by the gorgeous VLC and VLC-Android teams effort! You can know more or obtain the source code at https://code.videolan.org/videolan/vlc-android</string>
2929
</resources>
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
Ojo is a basic IP Camera surveillance wall.
2-
IP camera's RTSP streams are added via its url and shown in the classic tile configuration. The number of tiles is automatically choosen based on the number of configured cameras: a single camera goes full screen, adding more cameras the app switches to a grid view: 2x2, 3x3, 4x4 and so on.
2+
IP camera's RTSP streams are added via its url and shown in the classic tile configuration. The number of tiles is automatically chosen based on the number of configured cameras: a single camera goes full screen, adding more cameras the app switches to a grid view: 2x2, 3x3, 4x4 and so on.
33
The maximum number of cameras is determined by the device's capabilities.
44

55
The stream decoding and rendering is demanded to VLC's library: without their effort this app wouldn't be possible.
6-
This app was specifically developed for F-Droid, as I couldn't find any open source RTSP vievers in the main repository.
6+
This app was specifically developed for F-Droid, as I couldn't find any open source RTSP viewers in the main repository.
77

88
The app can be opened deeplinking to url ojo://view
99
To open the app with focus on a specific camera, you can use an intent (it.danieleverducci.ojo.OPEN_CAMERA) to specify which camera you want to view.
1010
The extra argument it.danieleverducci.ojo.CAMERA_NAME will open the app with the camera with the name you specified while adding the camera.
1111
The extra argument it.danieleverducci.ojo.CAMERA_NUMBER starting at 1 could be used as well, if you have multiple cameras with the same name.
12-
See belows example how to use the intent. The flag (-f 268468224) could be useful if you want to switch to an other camera while the app is running.
13-
adb -s <YOUR_DEVICE> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NAME <YOUR_CAMERA_NAME>
14-
adb -s <YOUR_DEVICE> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NUMBER <YOUR_CAMERA_NUMBER>
12+
13+
See below an example how to use the intent. The flag (-f 268468224) could be useful if you want to switch to another camera while the app is running:
14+
15+
adb -s <YOUR_DEVICE> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NAME <YOUR_CAMERA_NAME>
16+
adb -s <YOUR_DEVICE> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NUMBER <YOUR_CAMERA_NUMBER>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
OJO это базовый просмотрщик IP камер наблюдения.
2+
RTSP потоки IP камеры добавляются через его URL адрес и показаны в классической плиточной конфигурации. Количество плиток автоматически выбирается на основе количества настроенных камер: одна камера показана на весь экран, добавление больше камер переключает на сетку: 2x2, 3x3, 4x4 и т. д.
3+
4+
Максимальное количество камер определяется возможностями устройства.
5+
6+
Декодирование и рендеринг потока требует библиотеки VLC: без их стараний это приложение не было бы возможно.
7+
8+
Это приложение было специально разработано для F-Droid, так как я не мог найти каких-либо просмотрщиков RTSP с открытым исходным кодом в основном репозитории.
9+
10+
Приложение может быть открыто с глубокой ссылкой по URL ojo://view.
11+
Чтобы открыть приложение с фокусом на определенной камере, вы можете использовать intent (it.danieleverducci.ojo.OPEN_CAMERA) чтобы указать какую камеру вы хотите просмотреть.
12+
Дополнительный аргумент it.danieleverducci.ojo.CAMERA_NAME откроет приложение с камерой с указанным вами названием при добавлении камеры.
13+
Дополнительный аргумент it.danieleverducci.ojo.CAMERA_NUMBER начиная с 1 также может использоваться, если у вас есть несколько камер с одним и тем же названием.
14+
15+
Ниже пример как использовать intent. Флаг (-F 268468224) может быть полезен, если вы хотите переключиться на другую камеру во время работы приложения:
16+
17+
adb -s <ВАШЕ_УСТРОЙСТВО> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NAME <ИМЯ_ВАШЕЙ_КАМЕРЫ>
18+
adb -s <ВАШЕ_УСТРОЙСТВО> shell am start -a it.danieleverducci.ojo.OPEN_CAMERA -f 268468224 --es it.danieleverducci.ojo.CAMERA_NUMBER <НОМЕР_ВАШЕЙ_КАМЕРЫ>
19+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
OJO это базовый просмотрщик IP камер наблюдения.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ojo RTSP просмотрщик IP Камер

0 commit comments

Comments
 (0)