1use crate::FUNCTORA_CORE_DATE;
2use crate::FUNCTORA_CORE_YEAR;
3use crate::i18n::{I18N, Language};
4use std::env::VarError;
5use std::sync::mpsc::RecvError;
6
7#[derive(Clone, Debug, PartialEq)]
8pub enum Msg {
9 Copied,
10 Password,
11 PasswordPlaceholder,
12 Paste,
13 Copy,
14 Loading,
15 ErrorTitle(String),
16 EnvError(VarError),
17 ChannelError(RecvError),
18 NotJsonObject(String),
19 #[cfg(target_os = "android")]
20 JniError(String),
21 ErrorTitleLabel,
22 PasswordRequired,
23 ClipboardWriteError(String),
24 ClipboardReadError(String),
25 CameraNotAvailable(String),
26 CameraPermissionDenied(String),
27 Back,
28 Home,
29 DonateGreeting,
30 DonateIntro,
31 Stage(crate::progress::Stage),
32 Copyright,
33 AllRightsReserved,
34 ByContinuing,
35 YouAgree,
36 TermsOfService,
37 TermsOfServiceTitle,
38 PrivacyPolicyAnd,
39 PrivacyPolicyTitle,
40 VersionLabel,
41 Application,
42 Theme,
43 Donate,
44 DonateLink,
45 And,
46 FooterShareWord,
47 FooterAppWord,
48 LanguageFlag(Language),
49 LanguageName(Language),
50 LicenseText,
51 PrivacyText,
52 CopyAppLink,
53 ShareAppLink,
54 Sent,
55 SourceCodeButton,
56 AuthorButton,
57 JoinTestingButton,
58 GooglePlayButton,
59 DownloadApkButton,
60 AboutAndroidBeta1,
61 AboutAndroidBetaLink1,
62 AboutAndroidBeta2,
63 AboutAndroidBetaLink2,
64 AboutAndroidBeta3,
65 AboutAndroidBetaLink3,
66 AboutAndroidBeta4,
67 PwaInstallPrompt,
68 PwaInstallSuccess,
69 PwaInstallRejected,
70 PwaInstallUnavailable,
71 PwaInstallIos,
72 PwaInstallMac,
73 CipherAesLabel,
74 CipherChaChaLabel,
75 PickingFiles,
76 FilesAttached(usize),
77 Cancel,
78 Start,
79 Stop,
80 PickImage,
81 Clear,
82 Preparing,
83 Cancelling,
84 CameraStarting,
85 CameraOff,
86 Decoded,
87}
88
89impl I18N for Msg {
90 fn render_eng(&self) -> String {
91 match self {
92 Self::Copied => "Copied!".into(),
93 Self::Password => "Password".into(),
94 Self::PasswordPlaceholder => "Enter password".into(),
95 Self::Paste => "Paste".into(),
96 Self::Copy => "Copy".into(),
97 Self::Loading => "Loading...".into(),
98 Self::ErrorTitle(e) => format!("Error: {e}"),
99 Self::EnvError(e) => format!("Environment variable error: {e}"),
100 Self::ChannelError(e) => format!("Channel receive error: {e}"),
101 Self::NotJsonObject(e) => format!("Expected JSON object, got: {e}"),
102 #[cfg(target_os = "android")]
103 Self::JniError(e) => format!("JNI error: {e}"),
104 Self::ErrorTitleLabel => "Error".into(),
105 Self::PasswordRequired => "Password is required for encryption".into(),
106 Self::ClipboardWriteError(e) => format!("Failed to copy to clipboard: {e}"),
107 Self::ClipboardReadError(e) => format!("Failed to read from clipboard: {e}"),
108 Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_eng(),
109 Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_eng(),
110 Self::Back => "Back".into(),
111 Self::Home => "Home".into(),
112 Self::DonateGreeting => "Hello, User!".into(),
113 Self::DonateIntro => {
114 "I'm Functora, the creator of this software. If you're enjoying it, a donation would be greatly appreciated. Sincerely yours, Functora.".into()
115 }
116 Self::Stage(s) => match s {
117 crate::progress::Stage::Attach => "Attaching files...".into(),
118 crate::progress::Stage::Zip => "Zipping files...".into(),
119 crate::progress::Stage::Encrypt => "Encrypting...".into(),
120 crate::progress::Stage::Decrypt => "Decrypting...".into(),
121 crate::progress::Stage::Unzip => "Unzipping...".into(),
122 crate::progress::Stage::Download => "Downloading...".into(),
123 crate::progress::Stage::Preview => "Preparing preview...".into(),
124 },
125 Self::Copyright => "©".into(),
126 Self::AllRightsReserved => "All rights reserved.".into(),
127 Self::ByContinuing => "By continuing to use this software, you agree to the".into(),
128 Self::YouAgree | Self::And => "and".into(),
129 Self::TermsOfService | Self::TermsOfServiceTitle => "Terms of Service".into(),
130 Self::PrivacyPolicyAnd | Self::PrivacyPolicyTitle => "Privacy Policy".into(),
131 Self::VersionLabel => "Version".into(),
132 Self::Application => "Application".into(),
133 Self::Theme => "Theme".into(),
134 Self::Donate | Self::DonateLink => "Donate".into(),
135 Self::FooterShareWord => "Share".into(),
136 Self::FooterAppWord => "app".into(),
137 Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
138 Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
139 Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
140 Self::LanguageFlag(_) => "🌐".into(),
141 Self::LanguageName(Language::Eng) => "English".into(),
142 Self::LanguageName(Language::Spa) => "Español".into(),
143 Self::LanguageName(Language::Rus) => "Русский".into(),
144 Self::LanguageName(_) => "Unknown".into(),
145 Self::LicenseText => format!(r#"The MIT License (MIT)
146Copyright (c) {FUNCTORA_CORE_YEAR} Functora
147
148Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
149
150The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
151
152THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."#),
153 Self::PrivacyText => format!(r#"## Privacy Policy
154
155This privacy policy applies to the app (hereby referred to as "Application") for mobile devices that was created by Functora (hereby referred to as "Service Provider") as a Free service. This service is intended for use "AS IS".
156
157## What information does the Application obtain and how is it used?
158
159The Application does not obtain any information when you download and use it. Registration is not required to use the Application.
160
161## Does the Application collect precise real time location information of the device?
162
163This Application does not collect precise information about the location of your mobile device.
164
165## Do third parties see and/or have access to information obtained by the Application?
166
167Since the Application does not collect any information, no data is shared with third parties.
168
169## What are my opt-out rights?
170
171You can stop all collection of information by the Application easily by uninstalling it. You may use the standard uninstall processes as may be available as part of your mobile device or via the mobile application marketplace or network.
172
173## Children
174
175The Application is not used to knowingly solicit data from or market to children under the age of 13.
176
177The Service Provider does not knowingly collect personally identifiable information from children. The Service Provider encourages all children to never submit any personally identifiable information through the Application and/or Services. The Service Provider encourage parents and legal guardians to monitor their children's Internet usage and to help enforce this Policy by instructing their children never to provide personally identifiable information through the Application and/or Services without their permission. If you have reason to believe that a child has provided personally identifiable information to the Service Provider through the Application and/or Services, please contact the Service Provider (functora@proton.me) so that they will be able to take the necessary actions. You must also be at least 16 years of age to consent to the processing of your personally identifiable information in your country (in some countries we may allow your parent or guardian to do so on your behalf).
178
179## Security
180
181The Service Provider is concerned about safeguarding the confidentiality of your information. However, since the Application does not collect any information, there is no risk of your data being accessed by unauthorized individuals.
182
183## Changes
184
185This Privacy Policy may be updated from time to time for any reason. The Service Provider will notify you of any changes to their Privacy Policy by updating this page with the new Privacy Policy. You are advised to consult this Privacy Policy regularly for any changes, as continued use is deemed approval of all changes.
186
187This privacy policy is effective as of {FUNCTORA_CORE_DATE}
188
189## Your Consent
190
191By using the Application, you are consenting to the processing of your information as set forth in this Privacy Policy now and as amended by the Service Provider.
192
193## Contact Us
194
195If you have any questions regarding privacy while using the Application, or have questions about the practices, please contact the Service Provider via email at functora@proton.me."#),
196 Self::CopyAppLink => "Copy link".into(),
197 Self::ShareAppLink => "Share app".into(),
198 Self::Sent => "Sent!".into(),
199 Self::SourceCodeButton => "Source code".into(),
200 Self::AuthorButton => "Author".into(),
201 Self::JoinTestingButton => "Join testing".into(),
202 Self::GooglePlayButton => "Google Play".into(),
203 Self::DownloadApkButton => "Download APK".into(),
204 Self::AboutAndroidBeta1 => "The Android app is in closed beta. To install it, join the".into(),
205 Self::AboutAndroidBetaLink1 => "closed beta".into(),
206 Self::AboutAndroidBeta2 => "group and then install the app from".into(),
207 Self::AboutAndroidBetaLink2 => "Google Play".into(),
208 Self::AboutAndroidBeta3 => ", or download the".into(),
209 Self::AboutAndroidBetaLink3 => "APK file".into(),
210 Self::AboutAndroidBeta4 => "directly.".into(),
211 Self::PwaInstallPrompt => "Install PWA".into(),
212 Self::PwaInstallSuccess => "Installed as PWA!".into(),
213 Self::PwaInstallRejected => "Installation cancelled".into(),
214 Self::PwaInstallUnavailable => "PWA installation not available in this browser".into(),
215 Self::PwaInstallIos => "To install: tap Share, then 'Add to Home Screen'.".into(),
216 Self::PwaInstallMac => "To install: tap Share, then 'Add to Dock'.".into(),
217 Self::CipherAesLabel => "AES-256-GCM (encryption)".into(),
218 Self::CipherChaChaLabel => "ChaCha20-Poly1305 (encryption)".into(),
219 Self::PickingFiles => "Picking files...".into(),
220 Self::FilesAttached(count) => format!("Attached {count} file(s)"),
221 Self::Cancel => "Cancel".into(),
222 Self::Start => "Start".into(),
223 Self::Stop => "Stop".into(),
224 Self::PickImage => "Pick Image".into(),
225 Self::Clear => "Clear".into(),
226 Self::Preparing => "Preparing...".into(),
227 Self::Cancelling => "Cancelling...".into(),
228 Self::CameraStarting => "Starting camera…".into(),
229 Self::CameraOff => "Camera off".into(),
230 Self::Decoded => "Decoded".into(),
231 }
232 }
233
234 fn render_spa(&self) -> String {
235 match self {
236 Self::Copied => "¡Copiado!".into(),
237 Self::Password => "Contraseña".into(),
238 Self::PasswordPlaceholder => "Ingresa contraseña".into(),
239 Self::Paste => "Pegar".into(),
240 Self::Copy => "Copiar".into(),
241 Self::Loading => "Cargando...".into(),
242 Self::ErrorTitle(e) => format!("Error: {e}"),
243 Self::EnvError(e) => format!("Error de variable de entorno: {e}"),
244 Self::ChannelError(e) => format!("Error de recepción en canal: {e}"),
245 Self::NotJsonObject(e) => format!("Se esperaba un objeto JSON, se obtuvo: {e}"),
246 #[cfg(target_os = "android")]
247 Self::JniError(e) => format!("Error JNI: {e}"),
248 Self::ErrorTitleLabel => "Error".into(),
249 Self::PasswordRequired => "Se requiere contraseña para el cifrado".into(),
250 Self::ClipboardWriteError(e) => format!("No se pudo copiar al portapapeles: {e}"),
251 Self::ClipboardReadError(e) => format!("No se pudo leer del portapapeles: {e}"),
252 Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_spa(),
253 Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_spa(),
254 Self::Back => "Atrás".into(),
255 Self::Home => "Inicio".into(),
256 Self::DonateGreeting => "¡Hola, Usuario!".into(),
257 Self::DonateIntro => {
258 "Soy Functora, el creador de este software. Si lo estás disfrutando, una donación sería muy apreciada. Atentamente, Functora.".into()
259 }
260 Self::Stage(s) => match s {
261 crate::progress::Stage::Attach => "Adjuntando archivos...".into(),
262 crate::progress::Stage::Zip => "Comprimiendo archivos...".into(),
263 crate::progress::Stage::Encrypt => "Cifrando...".into(),
264 crate::progress::Stage::Decrypt => "Descifrando...".into(),
265 crate::progress::Stage::Unzip => "Descomprimiendo...".into(),
266 crate::progress::Stage::Download => "Descargando...".into(),
267 crate::progress::Stage::Preview => "Preparando vista previa...".into(),
268 },
269 Self::Copyright => "©".into(),
270 Self::AllRightsReserved => "Todos los derechos reservados.".into(),
271 Self::ByContinuing => "Al continuar usando este software, aceptas los".into(),
272 Self::YouAgree => "y la".into(),
273 Self::TermsOfService | Self::TermsOfServiceTitle => "Términos de Servicio".into(),
274 Self::PrivacyPolicyAnd | Self::PrivacyPolicyTitle => "Política de Privacidad".into(),
275 Self::VersionLabel => "Versión".into(),
276 Self::Application => "Aplicación".into(),
277 Self::Theme => "Tema".into(),
278 Self::Donate | Self::DonateLink => "Donar".into(),
279 Self::And => "y".into(),
280 Self::FooterShareWord => "Compartir".into(),
281 Self::FooterAppWord => "la app".into(),
282 Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
283 Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
284 Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
285 Self::LanguageFlag(_) => "🌐".into(),
286 Self::LanguageName(Language::Eng) => "English".into(),
287 Self::LanguageName(Language::Spa) => "Español".into(),
288 Self::LanguageName(Language::Rus) => "Русский".into(),
289 Self::LanguageName(_) => "Unknown".into(),
290 Self::LicenseText => format!(r#"The MIT License (MIT)
291Copyright (c) {FUNCTORA_CORE_YEAR} Functora
292
293Por la presente se concede permiso, libre de cargos, a cualquier persona que haya obtenido una copia de este software y archivos de documentación asociados (el "Software"), para utilizar el Software sin restricción, incluyendo sin limitación los derechos a usar, copiar, modificar, fusionar, publicar, distribuir, sublicenciar y/o vender copias del Software, y a permitir a las personas a las que se les proporcione el Software que hagan lo mismo, sujeto a las siguientes condiciones:
294
295El aviso de copyright anterior y este aviso de permiso deberán incluirse en todas las copias o partes sustanciales del Software.
296
297EL SOFTWARE SE PROPORCIONA "TAL CUAL", SIN GARANTÍA DE NINGÚN TIPO, EXPRESA O IMPLÍCITA, INCLUYENDO PERO NO LIMITADO A LAS GARANTÍAS DE COMERCIABILIDAD, IDONEIDAD PARA UN FIN PARTICULAR Y NO INFRACCIÓN. EN NINGÚN CASO LOS AUTORES O TITULARES DEL COPYRIGHT SERÁN RESPONSABLES DE NINGUNA RECLAMACIÓN, DAÑOS U OTRAS RESPONSABILIDADES, YA SEA EN UNA ACCIÓN DE CONTRATO, AGRAVIO O DE OTRO TIPO, QUE SURJA DE, O EN RELACIÓN CON EL SOFTWARE O EL USO U OTROS TRATOS EN EL SOFTWARE."#),
298 Self::PrivacyText => format!(r#"## Política de Privacidad
299
300Esta política de privacidad se aplica a la aplicación (en adelante, "Aplicación") para dispositivos móviles creada por Functora (en adelante, "Proveedor de Servicios") como un servicio gratuito. Este servicio está destinado a su uso "TAL CUAL".
301
302## ¿Qué información obtiene la Aplicación y cómo se utiliza?
303
304La Aplicación no obtiene ninguna información cuando la descargas y la usas. No se requiere registro para usar la Aplicación.
305
306## ¿La Aplicación recopila información precisa de ubicación en tiempo real del dispositivo?
307
308Esta Aplicación no recopila información precisa sobre la ubicación de tu dispositivo móvil.
309
310## ¿Tienen terceros acceso a la información obtenida por la Aplicación?
311
312Dado que la Aplicación no recopila ninguna información, no se comparten datos con terceros.
313
314## ¿Cuáles son mis derechos de exclusión voluntaria?
315
316Puedes detener toda la recopilación de información por parte de la Aplicación fácilmente desinstalándola. Puedes utilizar los procesos de desinstalación estándar disponibles como parte de tu dispositivo móvil o a través del mercado o red de aplicaciones móviles.
317
318## Niños
319
320La Aplicación no se utiliza para solicitar datos a sabiendas de niños menores de 13 años ni para comercializar con ellos.
321
322El Proveedor de Servicios no recopila a sabiendas información de identificación personal de niños. El Proveedor de Servicios alienta a todos los niños a que nunca envíen ninguna información de identificación personal a través de la Aplicación y/o los Servicios. El Proveedor de Servicios alienta a los padres y tutores legales a monitorear el uso de Internet de sus hijos y a ayudar a hacer cumplir esta Política instruyendo a sus hijos para que nunca proporcionen información de identificación personal a través de la Aplicación y/o los Servicios sin su permiso. Si tienes motivos para creer que un niño ha proporcionado información de identificación personal al Proveedor de Servicios a través de la Aplicación y/o los Servicios, comunícate con el Proveedor de Servicios (functora@proton.me) para que puedan tomar las medidas necesarias. También debes tener al menos 16 años de edad para dar tu consentimiento al procesamiento de tu información de identificación personal en tu país (en algunos países podemos permitir que tu padre o tutor lo haga en tu nombre).
323
324## Seguridad
325
326El Proveedor de Servicios se preocupa por salvaguardar la confidencialidad de tu información. Sin embargo, dado que la Aplicación no recopila ninguna información, no existe riesgo de que personas no autorizadas accedan a tus datos.
327
328## Cambios
329
330Esta Política de Privacidad puede actualizarse de vez en cuando por cualquier motivo. El Proveedor de Servicios te notificará de cualquier cambio en su Política de Privacidad actualizando esta página con la nueva Política de Privacidad. Se te aconseja consultar esta Política de Privacidad regularmente para ver si hay cambios, ya que el uso continuado se considera aprobación de todos los cambios.
331
332Esta política de privacidad es efectiva a partir de {FUNCTORA_CORE_DATE}
333
334## Tu Consentimiento
335
336Al usar la Aplicación, das tu consentimiento al procesamiento de tu información según lo establecido en esta Política de Privacidad ahora y según sea modificada por el Proveedor de Servicios.
337
338## Contáctanos
339
340Si tienes alguna pregunta sobre privacidad al usar la Aplicación, o tienes preguntas sobre las prácticas, comunícate con el Proveedor de Servicios por correo electrónico a functora@proton.me."#),
341 Self::CopyAppLink => "Copiar enlace".into(),
342 Self::ShareAppLink => "Compartir la app".into(),
343 Self::Sent => "¡Enviado!".into(),
344 Self::SourceCodeButton => "Código fuente".into(),
345 Self::AuthorButton => "Autor".into(),
346 Self::JoinTestingButton => "Unirse a prueba".into(),
347 Self::GooglePlayButton => "Google Play".into(),
348 Self::DownloadApkButton => "Descargar APK".into(),
349 Self::AboutAndroidBeta1 => "La aplicación de Android está en beta cerrada. Para instalarla, únase al grupo de".into(),
350 Self::AboutAndroidBetaLink1 => "beta cerrada".into(),
351 Self::AboutAndroidBeta2 => "y luego instale la aplicación desde".into(),
352 Self::AboutAndroidBetaLink2 => "Google Play".into(),
353 Self::AboutAndroidBeta3 => ", o descargue el".into(),
354 Self::AboutAndroidBetaLink3 => "archivo APK".into(),
355 Self::AboutAndroidBeta4 => "directamente.".into(),
356 Self::PwaInstallPrompt => "Instalar PWA".into(),
357 Self::PwaInstallSuccess => "¡Instalado como PWA!".into(),
358 Self::PwaInstallRejected => "Instalación cancelada".into(),
359 Self::PwaInstallUnavailable => "La instalación PWA no está disponible en este navegador".into(),
360 Self::PwaInstallIos => "Para instalar: toca Compartir y luego «Añadir a pantalla de inicio».".into(),
361 Self::PwaInstallMac => "Para instalar: toca Compartir y luego «Añadir al Dock».".into(),
362 Self::CipherAesLabel => "AES-256-GCM (cifrado)".into(),
363 Self::CipherChaChaLabel => "ChaCha20-Poly1305 (cifrado)".into(),
364 Self::PickingFiles => "Seleccionando archivos...".into(),
365 Self::FilesAttached(count) => format!("Archivo(s) adjuntado(s): {count}"),
366 Self::Cancel => "Cancelar".into(),
367 Self::Start => "Iniciar".into(),
368 Self::Stop => "Detener".into(),
369 Self::PickImage => "Elegir imagen".into(),
370 Self::Clear => "Borrar".into(),
371 Self::Preparing => "Preparando...".into(),
372 Self::Cancelling => "Cancelando...".into(),
373 Self::CameraStarting => "Iniciando cámara…".into(),
374 Self::CameraOff => "Cámara apagada".into(),
375 Self::Decoded => "Decodificado".into(),
376 }
377 }
378
379 fn render_rus(&self) -> String {
380 match self {
381 Self::Copied => "Скопировано!".into(),
382 Self::Password => "Пароль".into(),
383 Self::PasswordPlaceholder => "Введите пароль".into(),
384 Self::Paste => "Вставить".into(),
385 Self::Copy => "Копировать".into(),
386 Self::Loading => "Загрузка...".into(),
387 Self::ErrorTitle(e) => format!("Ошибка: {e}"),
388 Self::EnvError(e) => format!("Ошибка переменной окружения: {e}"),
389 Self::ChannelError(e) => format!("Ошибка получения из канала: {e}"),
390 Self::NotJsonObject(e) => format!("Ожидался JSON-объект, получено: {e}"),
391 #[cfg(target_os = "android")]
392 Self::JniError(e) => format!("Ошибка JNI: {e}"),
393 Self::ErrorTitleLabel => "Ошибка".into(),
394 Self::PasswordRequired => "Для шифрования требуется пароль".into(),
395 Self::ClipboardWriteError(e) => format!("Не удалось скопировать в буфер обмена: {e}"),
396 Self::ClipboardReadError(e) => format!("Не удалось прочитать из буфера обмена: {e}"),
397 Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_rus(),
398 Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_rus(),
399 Self::Back => "Назад".into(),
400 Self::Home => "Главная".into(),
401 Self::DonateGreeting => "Здравствуйте, пользователь!".into(),
402 Self::DonateIntro => {
403 "Я Functora, создатель этого программного обеспечения. Если оно вам нравится, я буду очень признателен за пожертвование. С уважением, Functora.".into()
404 }
405 Self::Stage(s) => match s {
406 crate::progress::Stage::Attach => "Прикрепление файлов...".into(),
407 crate::progress::Stage::Zip => "Архивация файлов...".into(),
408 crate::progress::Stage::Encrypt => "Шифрование...".into(),
409 crate::progress::Stage::Decrypt => "Расшифровка...".into(),
410 crate::progress::Stage::Unzip => "Распаковка...".into(),
411 crate::progress::Stage::Download => "Скачивание...".into(),
412 crate::progress::Stage::Preview => "Подготовка предпросмотра...".into(),
413 },
414 Self::Copyright => "©".into(),
415 Self::AllRightsReserved => "Все права защищены.".into(),
416 Self::ByContinuing => "Продолжая использовать это программное обеспечение, вы соглашаетесь с".into(),
417 Self::YouAgree | Self::And => "и".into(),
418 Self::TermsOfService => "Условиями обслуживания".into(),
419 Self::TermsOfServiceTitle => "Условия обслуживания".into(),
420 Self::PrivacyPolicyAnd => "Политикой конфиденциальности".into(),
421 Self::PrivacyPolicyTitle => "Политика конфиденциальности".into(),
422 Self::VersionLabel => "Версия".into(),
423 Self::Application => "Приложение".into(),
424 Self::Theme => "Тема".into(),
425 Self::Donate => "Пожертвовать".into(),
426 Self::DonateLink => "Сделайте пожертвование".into(),
427 Self::FooterShareWord => "Поделитесь".into(),
428 Self::FooterAppWord => "приложением".into(),
429 Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
430 Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
431 Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
432 Self::LanguageFlag(_) => "🌐".into(),
433 Self::LanguageName(Language::Eng) => "English".into(),
434 Self::LanguageName(Language::Spa) => "Español".into(),
435 Self::LanguageName(Language::Rus) => "Русский".into(),
436 Self::LanguageName(_) => "Unknown".into(),
437 Self::LicenseText => format!(r"The MIT License (MIT)
438Copyright (c) {FUNCTORA_CORE_YEAR} Functora
439
440Настоящим предоставляется бесплатное разрешение любому лицу, получившему копию данного программного обеспечения и сопутствующих файлов документации (далее - «Программное обеспечение»), использовать Программное обеспечение без ограничений, включая неограниченное право использовать, копировать, изменять, объединять, публиковать, распространять, сублицензировать и/или продавать копии Программного обеспечения, а также разрешать лицам, которым предоставлено Программное обеспечение, делать то же самое, при соблюдении следующих условий:
441
442Указанное выше уведомление об авторских правах и данное уведомление о разрешении должны быть включены во все копии или существенные части Программного обеспечения.
443
444ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ, НО НЕ ОГРАНИЧИВАЯСЬ ГАРАНТИЯМИ ТОВАРНОГО СОСТОЯНИЯ, ПРИГОДНОСТИ ДЛЯ КОНКРЕТНЫХ ЦЕЛЕЙ И ОТСУТСТВИЯ НАРУШЕНИЙ АВТОРСКИХ ПРАВ. НИ ПРИ КАКИХ ОБСТОЯТЕЛЬСТВАХ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ ПО ЛЮБЫМ ПРЕТЕНЗИЯМ, ЗА УБЫТКИ ИЛИ ДРУГИЕ ТРЕБОВАНИЯ, ВЫТЕКАЮЩИЕ ИЗ ДОГОВОРА, ДЕЛИКТА ИЛИ ИНЫХ ОБСТОЯТЕЛЬСТВ, СВЯЗАННЫЕ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ, ЕГО ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ ДЕЙСТВИЯМИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ."),
445 Self::PrivacyText => format!(r"## Политика конфиденциальности
446
447Эта политика конфиденциальности применяется к приложению (далее именуемому «Приложение») для мобильных устройств, созданному Functora (далее именуемому «Поставщик услуг») в качестве бесплатной услуги. Эта услуга предназначена для использования «КАК ЕСТЬ».
448
449## Какую информацию получает Приложение и как она используется?
450
451Приложение не получает никакой информации, когда вы загружаете и используете его. Регистрация не требуется для использования Приложения.
452
453## Собирает ли Приложение точную информацию о местоположении устройства в реальном времени?
454
455Это Приложение не собирает точную информацию о местоположении вашего мобильного устройства.
456
457## Видят ли третьи стороны и/или имеют ли доступ к информации, полученной Приложением?
458
459Поскольку Приложение не собирает никакой информации, никакие данные не передаются третьим лицам.
460
461## Каковы мои права на отказ?
462
463Вы можете легко прекратить сбор информации Приложением, удалив его. Вы можете использовать стандартные процессы удаления, доступные как часть вашего мобильного устройства или через магазин мобильных приложений или сеть.
464
465## Дети
466
467Приложение не используется для намеренного сбора данных или маркетинга среди детей младше 13 лет.
468
469Поставщик услуг не собирает намеренно личную информацию от детей. Поставщик услуг призывает всех детей никогда не отправлять какую-либо личную информацию через Приложение и/или Услуги. Поставщик услуг призывает родителей и законных опекунов контролировать использование Интернета их детьми и помогать обеспечивать выполнение этой Политики, инструктируя своих детей никогда не предоставлять личную информацию через Приложение и/или Услуги без их разрешения. Если у вас есть основания полагать, что ребенок предоставил личную информацию Поставщику услуг через Приложение и/или Услуги, свяжитесь с Поставщиком услуг (functora@proton.me), чтобы они могли предпринять необходимые меры. Вам также должно быть не менее 16 лет, чтобы дать согласие на обработку вашей личной информации в вашей стране (в некоторых странах мы можем разрешить вашему родителю или опекуну сделать это от вашего имени).
470
471## Безопасность
472
473Поставщик услуг заботится о защите конфиденциальности вашей информации. Однако, поскольку Приложение не собирает никакой информации, нет риска доступа к вашим данным посторонних лиц.
474
475## Изменения
476
477Эта Политика конфиденциальности может время от времени обновляться по любой причине. Поставщик услуг уведомит вас о любых изменениях в своей Политике конфиденциальности, обновив эту страницу новой Политикой конфиденциальности. Вам рекомендуется регулярно просматривать эту Политику конфиденциальности на предмет изменений, так как продолжение использования считается одобрением всех изменений.
478
479Эта политика конфиденциальности вступает в силу с {FUNCTORA_CORE_DATE}
480
481## Ваше согласие
482
483Используя Приложение, вы даете согласие на обработку вашей информации, как изложено в этой Политике конфиденциальности сейчас и с изменениями, внесенными Поставщиком услуг.
484
485## Свяжитесь с нами
486
487Если у вас есть какие-либо вопросы относительно конфиденциальности при использовании Приложения или вопросы о практике, свяжитесь с Поставщиком услуг по электронной почте functora@proton.me."),
488 Self::CopyAppLink => "Скопировать ссылку".into(),
489 Self::ShareAppLink => "Поделиться приложением".into(),
490 Self::Sent => "Отправлено!".into(),
491 Self::SourceCodeButton => "Исходный код".into(),
492 Self::AuthorButton => "Автор".into(),
493 Self::JoinTestingButton => "Вступить в бета-тест".into(),
494 Self::GooglePlayButton => "Google Play".into(),
495 Self::DownloadApkButton => "Скачать APK".into(),
496 Self::AboutAndroidBeta1 => "Приложение Android в закрытом бета-тестировании. Чтобы установить его, вступите в группу".into(),
497 Self::AboutAndroidBetaLink1 => "бета-тестирования".into(),
498 Self::AboutAndroidBeta2 => ", затем установите приложение из".into(),
499 Self::AboutAndroidBetaLink2 => "Google Play".into(),
500 Self::AboutAndroidBeta3 => " или скачайте".into(),
501 Self::AboutAndroidBetaLink3 => "APK-файл".into(),
502 Self::AboutAndroidBeta4 => "напрямую.".into(),
503 Self::PwaInstallPrompt => "Установить PWA".into(),
504 Self::PwaInstallSuccess => "Установлено как PWA!".into(),
505 Self::PwaInstallRejected => "Установка отменена".into(),
506 Self::PwaInstallUnavailable => "Установка PWA недоступна в этом браузере".into(),
507 Self::PwaInstallIos => "Чтобы установить: нажмите «Поделиться», затем «На экран \"Домой\"».".into(),
508 Self::PwaInstallMac => "Чтобы установить: нажмите «Поделиться», затем «Добавить в Dock».".into(),
509 Self::CipherAesLabel => "AES-256-GCM (шифрование)".into(),
510 Self::CipherChaChaLabel => "ChaCha20-Poly1305 (шифрование)".into(),
511 Self::PickingFiles => "Выбор файлов...".into(),
512 Self::FilesAttached(count) => format!("Прикреплено файлов: {count}"),
513 Self::Cancel => "Отмена".into(),
514 Self::Start => "Начать".into(),
515 Self::Stop => "Остановить".into(),
516 Self::PickImage => "Выбрать изображение".into(),
517 Self::Clear => "Очистить".into(),
518 Self::Preparing => "Подготовка...".into(),
519 Self::Cancelling => "Отмена...".into(),
520 Self::CameraStarting => "Запуск камеры…".into(),
521 Self::CameraOff => "Камера выключена".into(),
522 Self::Decoded => "Декодировано".into(),
523 }
524 }
525}