Skip to main content

functora_core/
messages.rs

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}
78
79impl I18N for Msg {
80    fn render_eng(&self) -> String {
81        match self {
82            Self::Copied => "Copied!".into(),
83            Self::Password => "Password".into(),
84            Self::PasswordPlaceholder => "Enter password".into(),
85            Self::Paste => "Paste".into(),
86            Self::Copy => "Copy".into(),
87            Self::Loading => "Loading...".into(),
88            Self::ErrorTitle(e) => format!("Error: {e}"),
89            Self::EnvError(e) => format!("Environment variable error: {e}"),
90            Self::ChannelError(e) => format!("Channel receive error: {e}"),
91            Self::NotJsonObject(e) => format!("Expected JSON object, got: {e}"),
92            #[cfg(target_os = "android")]
93            Self::JniError(e) => format!("JNI error: {e}"),
94            Self::ErrorTitleLabel => "Error".into(),
95            Self::PasswordRequired => "Password is required for encryption".into(),
96            Self::ClipboardWriteError(e) => format!("Failed to copy to clipboard: {e}"),
97            Self::ClipboardReadError(e) => format!("Failed to read from clipboard: {e}"),
98            Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_eng(),
99            Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_eng(),
100            Self::Back => "Back".into(),
101            Self::Home => "Home".into(),
102            Self::DonateGreeting => "Hello, User!".into(),
103            Self::DonateIntro => {
104                "I'm Functora, the creator of this software. If you're enjoying it, a donation would be greatly appreciated. Sincerely yours, Functora.".into()
105            }
106            Self::Stage(s) => match s {
107                crate::progress::Stage::Attach => "Attaching files...".into(),
108                crate::progress::Stage::Zip => "Zipping files...".into(),
109                crate::progress::Stage::Encrypt => "Encrypting...".into(),
110                crate::progress::Stage::Decrypt => "Decrypting...".into(),
111                crate::progress::Stage::Unzip => "Unzipping...".into(),
112                crate::progress::Stage::Download => "Downloading...".into(),
113                crate::progress::Stage::Preview => "Preparing preview...".into(),
114            },
115            Self::Copyright => "©".into(),
116            Self::AllRightsReserved => "All rights reserved.".into(),
117            Self::ByContinuing => "By continuing to use this software, you agree to the".into(),
118            Self::YouAgree | Self::And => "and".into(),
119            Self::TermsOfService | Self::TermsOfServiceTitle => "Terms of Service".into(),
120            Self::PrivacyPolicyAnd | Self::PrivacyPolicyTitle => "Privacy Policy".into(),
121            Self::VersionLabel => "Version".into(),
122            Self::Application => "Application".into(),
123            Self::Theme => "Theme".into(),
124            Self::Donate | Self::DonateLink => "Donate".into(),
125            Self::FooterShareWord => "Share".into(),
126            Self::FooterAppWord => "app".into(),
127            Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
128            Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
129            Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
130            Self::LanguageFlag(_) => "🌐".into(),
131            Self::LanguageName(Language::Eng) => "English".into(),
132            Self::LanguageName(Language::Spa) => "Español".into(),
133            Self::LanguageName(Language::Rus) => "Русский".into(),
134            Self::LanguageName(_) => "Unknown".into(),
135            Self::LicenseText => format!(r#"Copyright (c) {FUNCTORA_CORE_YEAR} Functora
136
137Permission 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:
138
139The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
140
141THE 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."#),
142            Self::PrivacyText => format!(r#"Privacy Policy
143
144This 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".
145
146What information does the Application obtain and how is it used?
147
148The Application does not obtain any information when you download and use it. Registration is not required to use the Application.
149
150Does the Application collect precise real time location information of the device?
151
152This Application does not collect precise information about the location of your mobile device.
153
154Do third parties see and/or have access to information obtained by the Application?
155
156Since the Application does not collect any information, no data is shared with third parties.
157
158What are my opt-out rights?
159
160You 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.
161
162Children
163
164The Application is not used to knowingly solicit data from or market to children under the age of 13.
165
166The 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).
167
168Security
169
170The 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.
171
172Changes
173
174This 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.
175
176This privacy policy is effective as of {FUNCTORA_CORE_DATE}
177
178Your Consent
179
180By 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.
181
182Contact Us
183
184If 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."#),
185            Self::CopyAppLink => "Copy link".into(),
186            Self::ShareAppLink => "Share app".into(),
187            Self::Sent => "Sent!".into(),
188            Self::SourceCodeButton => "Source code".into(),
189            Self::AuthorButton => "Author".into(),
190            Self::JoinTestingButton => "Join testing".into(),
191            Self::GooglePlayButton => "Google Play".into(),
192            Self::DownloadApkButton => "Download APK".into(),
193            Self::AboutAndroidBeta1 => "The Android app is in closed beta. To install it, join the".into(),
194            Self::AboutAndroidBetaLink1 => "closed beta".into(),
195            Self::AboutAndroidBeta2 => "group and then install the app from".into(),
196            Self::AboutAndroidBetaLink2 => "Google Play".into(),
197            Self::AboutAndroidBeta3 => ", or download the".into(),
198            Self::AboutAndroidBetaLink3 => "APK file".into(),
199            Self::AboutAndroidBeta4 => "directly.".into(),
200            Self::PwaInstallPrompt => "Install PWA".into(),
201            Self::PwaInstallSuccess => "Installed as PWA!".into(),
202            Self::PwaInstallRejected => "Installation cancelled".into(),
203            Self::PwaInstallUnavailable => "PWA installation not available in this browser".into(),
204            Self::PwaInstallIos => "To install: tap Share, then 'Add to Home Screen'.".into(),
205            Self::PwaInstallMac => "To install: tap Share, then 'Add to Dock'.".into(),
206            Self::CipherAesLabel => "AES-256-GCM (encryption)".into(),
207            Self::CipherChaChaLabel => "ChaCha20-Poly1305 (encryption)".into(),
208            Self::PickingFiles => "Picking files...".into(),
209            Self::FilesAttached(count) => format!("Attached {count} file(s)"),
210        }
211    }
212
213    fn render_spa(&self) -> String {
214        match self {
215            Self::Copied => "¡Copiado!".into(),
216            Self::Password => "Contraseña".into(),
217            Self::PasswordPlaceholder => "Ingresa contraseña".into(),
218            Self::Paste => "Pegar".into(),
219            Self::Copy => "Copiar".into(),
220            Self::Loading => "Cargando...".into(),
221            Self::ErrorTitle(e) => format!("Error: {e}"),
222            Self::EnvError(e) => format!("Error de variable de entorno: {e}"),
223            Self::ChannelError(e) => format!("Error de recepción en canal: {e}"),
224            Self::NotJsonObject(e) => format!("Se esperaba un objeto JSON, se obtuvo: {e}"),
225            #[cfg(target_os = "android")]
226            Self::JniError(e) => format!("Error JNI: {e}"),
227            Self::ErrorTitleLabel => "Error".into(),
228            Self::PasswordRequired => "Se requiere contraseña para el cifrado".into(),
229            Self::ClipboardWriteError(e) => format!("No se pudo copiar al portapapeles: {e}"),
230            Self::ClipboardReadError(e) => format!("No se pudo leer del portapapeles: {e}"),
231            Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_spa(),
232            Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_spa(),
233            Self::Back => "Atrás".into(),
234            Self::Home => "Inicio".into(),
235            Self::DonateGreeting => "¡Hola, Usuario!".into(),
236            Self::DonateIntro => {
237                "Soy Functora, el creador de este software. Si lo estás disfrutando, una donación sería muy apreciada. Atentamente, Functora.".into()
238            }
239            Self::Stage(s) => match s {
240                crate::progress::Stage::Attach => "Adjuntando archivos...".into(),
241                crate::progress::Stage::Zip => "Comprimiendo archivos...".into(),
242                crate::progress::Stage::Encrypt => "Cifrando...".into(),
243                crate::progress::Stage::Decrypt => "Descifrando...".into(),
244                crate::progress::Stage::Unzip => "Descomprimiendo...".into(),
245                crate::progress::Stage::Download => "Descargando...".into(),
246                crate::progress::Stage::Preview => "Preparando vista previa...".into(),
247            },
248            Self::Copyright => "©".into(),
249            Self::AllRightsReserved => "Todos los derechos reservados.".into(),
250            Self::ByContinuing => "Al continuar usando este software, aceptas los".into(),
251            Self::YouAgree => "y la".into(),
252            Self::TermsOfService | Self::TermsOfServiceTitle => "Términos de Servicio".into(),
253            Self::PrivacyPolicyAnd | Self::PrivacyPolicyTitle => "Política de Privacidad".into(),
254            Self::VersionLabel => "Versión".into(),
255            Self::Application => "Aplicación".into(),
256            Self::Theme => "Tema".into(),
257            Self::Donate | Self::DonateLink => "Donar".into(),
258            Self::And => "y".into(),
259            Self::FooterShareWord => "Compartir".into(),
260            Self::FooterAppWord => "la app".into(),
261            Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
262            Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
263            Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
264            Self::LanguageFlag(_) => "🌐".into(),
265            Self::LanguageName(Language::Eng) => "English".into(),
266            Self::LanguageName(Language::Spa) => "Español".into(),
267            Self::LanguageName(Language::Rus) => "Русский".into(),
268            Self::LanguageName(_) => "Unknown".into(),
269            Self::LicenseText => format!(r#"Copyright (c) {FUNCTORA_CORE_YEAR} Functora
270
271Por 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:
272
273El aviso de copyright anterior y este aviso de permiso deberán incluirse en todas las copias o partes sustanciales del Software.
274
275EL 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."#),
276            Self::PrivacyText => format!(r#"Política de Privacidad
277
278Esta 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".
279
280¿Qué información obtiene la Aplicación y cómo se utiliza?
281
282La Aplicación no obtiene ninguna información cuando la descargas y la usas. No se requiere registro para usar la Aplicación.
283
284¿La Aplicación recopila información precisa de ubicación en tiempo real del dispositivo?
285
286Esta Aplicación no recopila información precisa sobre la ubicación de tu dispositivo móvil.
287
288¿Tienen terceros acceso a la información obtenida por la Aplicación?
289
290Dado que la Aplicación no recopila ninguna información, no se comparten datos con terceros.
291
292¿Cuáles son mis derechos de exclusión voluntaria?
293
294Puedes 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.
295
296Niños
297
298La Aplicación no se utiliza para solicitar datos a sabiendas de niños menores de 13 años ni para comercializar con ellos.
299
300El 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).
301
302Seguridad
303
304El 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.
305
306Cambios
307
308Esta 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.
309
310Esta política de privacidad es efectiva a partir de {FUNCTORA_CORE_DATE}
311
312Tu Consentimiento
313
314Al 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.
315
316Contáctanos
317
318Si 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."#),
319            Self::CopyAppLink => "Copiar enlace".into(),
320            Self::ShareAppLink => "Compartir la app".into(),
321            Self::Sent => "¡Enviado!".into(),
322            Self::SourceCodeButton => "Código fuente".into(),
323            Self::AuthorButton => "Autor".into(),
324            Self::JoinTestingButton => "Unirse a prueba".into(),
325            Self::GooglePlayButton => "Google Play".into(),
326            Self::DownloadApkButton => "Descargar APK".into(),
327            Self::AboutAndroidBeta1 => "La aplicación de Android está en beta cerrada. Para instalarla, únase al grupo de".into(),
328            Self::AboutAndroidBetaLink1 => "beta cerrada".into(),
329            Self::AboutAndroidBeta2 => "y luego instale la aplicación desde".into(),
330            Self::AboutAndroidBetaLink2 => "Google Play".into(),
331            Self::AboutAndroidBeta3 => ", o descargue el".into(),
332            Self::AboutAndroidBetaLink3 => "archivo APK".into(),
333            Self::AboutAndroidBeta4 => "directamente.".into(),
334            Self::PwaInstallPrompt => "Instalar PWA".into(),
335            Self::PwaInstallSuccess => "¡Instalado como PWA!".into(),
336            Self::PwaInstallRejected => "Instalación cancelada".into(),
337            Self::PwaInstallUnavailable => "La instalación PWA no está disponible en este navegador".into(),
338            Self::PwaInstallIos => "Para instalar: toca Compartir y luego «Añadir a pantalla de inicio».".into(),
339            Self::PwaInstallMac => "Para instalar: toca Compartir y luego «Añadir al Dock».".into(),
340            Self::CipherAesLabel => "AES-256-GCM (cifrado)".into(),
341            Self::CipherChaChaLabel => "ChaCha20-Poly1305 (cifrado)".into(),
342            Self::PickingFiles => "Seleccionando archivos...".into(),
343            Self::FilesAttached(count) => format!("Archivo(s) adjuntado(s): {count}"),
344        }
345    }
346
347    fn render_rus(&self) -> String {
348        match self {
349            Self::Copied => "Скопировано!".into(),
350            Self::Password => "Пароль".into(),
351            Self::PasswordPlaceholder => "Введите пароль".into(),
352            Self::Paste => "Вставить".into(),
353            Self::Copy => "Копировать".into(),
354            Self::Loading => "Загрузка...".into(),
355            Self::ErrorTitle(e) => format!("Ошибка: {e}"),
356            Self::EnvError(e) => format!("Ошибка переменной окружения: {e}"),
357            Self::ChannelError(e) => format!("Ошибка получения из канала: {e}"),
358            Self::NotJsonObject(e) => format!("Ожидался JSON-объект, получено: {e}"),
359            #[cfg(target_os = "android")]
360            Self::JniError(e) => format!("Ошибка JNI: {e}"),
361            Self::ErrorTitleLabel => "Ошибка".into(),
362            Self::PasswordRequired => "Для шифрования требуется пароль".into(),
363            Self::ClipboardWriteError(e) => format!("Не удалось скопировать в буфер обмена: {e}"),
364            Self::ClipboardReadError(e) => format!("Не удалось прочитать из буфера обмена: {e}"),
365            Self::CameraNotAvailable(e) => crate::Error::CameraNotAvailable(e.clone()).render_rus(),
366            Self::CameraPermissionDenied(e) => crate::Error::CameraPermissionDenied(e.clone()).render_rus(),
367            Self::Back => "Назад".into(),
368            Self::Home => "Главная".into(),
369            Self::DonateGreeting => "Здравствуйте, пользователь!".into(),
370            Self::DonateIntro => {
371                "Я Functora, создатель этого программного обеспечения. Если оно вам нравится, я буду очень признателен за пожертвование. С уважением, Functora.".into()
372            }
373            Self::Stage(s) => match s {
374                crate::progress::Stage::Attach => "Прикрепление файлов...".into(),
375                crate::progress::Stage::Zip => "Архивация файлов...".into(),
376                crate::progress::Stage::Encrypt => "Шифрование...".into(),
377                crate::progress::Stage::Decrypt => "Расшифровка...".into(),
378                crate::progress::Stage::Unzip => "Распаковка...".into(),
379                crate::progress::Stage::Download => "Скачивание...".into(),
380                crate::progress::Stage::Preview => "Подготовка предпросмотра...".into(),
381            },
382            Self::Copyright => "©".into(),
383            Self::AllRightsReserved => "Все права защищены.".into(),
384            Self::ByContinuing => "Продолжая использовать это программное обеспечение, вы соглашаетесь с".into(),
385            Self::YouAgree | Self::And => "и".into(),
386            Self::TermsOfService => "Условиями обслуживания".into(),
387            Self::TermsOfServiceTitle => "Условия обслуживания".into(),
388            Self::PrivacyPolicyAnd => "Политикой конфиденциальности".into(),
389            Self::PrivacyPolicyTitle => "Политика конфиденциальности".into(),
390            Self::VersionLabel => "Версия".into(),
391            Self::Application => "Приложение".into(),
392            Self::Theme => "Тема".into(),
393            Self::Donate => "Пожертвовать".into(),
394            Self::DonateLink => "Сделайте пожертвование".into(),
395            Self::FooterShareWord => "Поделитесь".into(),
396            Self::FooterAppWord => "приложением".into(),
397            Self::LanguageFlag(Language::Eng) => "🇬🇧".into(),
398            Self::LanguageFlag(Language::Spa) => "🇪🇸".into(),
399            Self::LanguageFlag(Language::Rus) => "🇷🇺".into(),
400            Self::LanguageFlag(_) => "🌐".into(),
401            Self::LanguageName(Language::Eng) => "English".into(),
402            Self::LanguageName(Language::Spa) => "Español".into(),
403            Self::LanguageName(Language::Rus) => "Русский".into(),
404            Self::LanguageName(_) => "Unknown".into(),
405            Self::LicenseText => format!(r"Copyright (c) {FUNCTORA_CORE_YEAR} Functora
406
407Настоящим предоставляется бесплатное разрешение любому лицу, получившему копию данного программного обеспечения и сопутствующих файлов документации (далее - «Программное обеспечение»), использовать Программное обеспечение без ограничений, включая неограниченное право использовать, копировать, изменять, объединять, публиковать, распространять, сублицензировать и/или продавать копии Программного обеспечения, а также разрешать лицам, которым предоставлено Программное обеспечение, делать то же самое, при соблюдении следующих условий:
408
409Указанное выше уведомление об авторских правах и данное уведомление о разрешении должны быть включены во все копии или существенные части Программного обеспечения.
410
411ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ, НО НЕ ОГРАНИЧИВАЯСЬ ГАРАНТИЯМИ ТОВАРНОГО СОСТОЯНИЯ, ПРИГОДНОСТИ ДЛЯ КОНКРЕТНЫХ ЦЕЛЕЙ И ОТСУТСТВИЯ НАРУШЕНИЙ АВТОРСКИХ ПРАВ. НИ ПРИ КАКИХ ОБСТОЯТЕЛЬСТВАХ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ ПО ЛЮБЫМ ПРЕТЕНЗИЯМ, ЗА УБЫТКИ ИЛИ ДРУГИЕ ТРЕБОВАНИЯ, ВЫТЕКАЮЩИЕ ИЗ ДОГОВОРА, ДЕЛИКТА ИЛИ ИНЫХ ОБСТОЯТЕЛЬСТВ, СВЯЗАННЫЕ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ, ЕГО ИСПОЛЬЗОВАНИЕМ ИЛИ ДРУГИМИ ДЕЙСТВИЯМИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ."),
412            Self::PrivacyText => format!(r"Политика конфиденциальности
413
414Эта политика конфиденциальности применяется к приложению (далее именуемому «Приложение») для мобильных устройств, созданному Functora (далее именуемому «Поставщик услуг») в качестве бесплатной услуги. Эта услуга предназначена для использования «КАК ЕСТЬ».
415
416Какую информацию получает Приложение и как она используется?
417
418Приложение не получает никакой информации, когда вы загружаете и используете его. Регистрация не требуется для использования Приложения.
419
420Собирает ли Приложение точную информацию о местоположении устройства в реальном времени?
421
422Это Приложение не собирает точную информацию о местоположении вашего мобильного устройства.
423
424Видят ли третьи стороны и/или имеют ли доступ к информации, полученной Приложением?
425
426Поскольку Приложение не собирает никакой информации, никакие данные не передаются третьим лицам.
427
428Каковы мои права на отказ?
429
430Вы можете легко прекратить сбор информации Приложением, удалив его. Вы можете использовать стандартные процессы удаления, доступные как часть вашего мобильного устройства или через магазин мобильных приложений или сеть.
431
432Дети
433
434Приложение не используется для намеренного сбора данных или маркетинга среди детей младше 13 лет.
435
436Поставщик услуг не собирает намеренно личную информацию от детей. Поставщик услуг призывает всех детей никогда не отправлять какую-либо личную информацию через Приложение и/или Услуги. Поставщик услуг призывает родителей и законных опекунов контролировать использование Интернета их детьми и помогать обеспечивать выполнение этой Политики, инструктируя своих детей никогда не предоставлять личную информацию через Приложение и/или Услуги без их разрешения. Если у вас есть основания полагать, что ребенок предоставил личную информацию Поставщику услуг через Приложение и/или Услуги, свяжитесь с Поставщиком услуг (functora@proton.me), чтобы они могли предпринять необходимые меры. Вам также должно быть не менее 16 лет, чтобы дать согласие на обработку вашей личной информации в вашей стране (в некоторых странах мы можем разрешить вашему родителю или опекуну сделать это от вашего имени).
437
438Безопасность
439
440Поставщик услуг заботится о защите конфиденциальности вашей информации. Однако, поскольку Приложение не собирает никакой информации, нет риска доступа к вашим данным посторонних лиц.
441
442Изменения
443
444Эта Политика конфиденциальности может время от времени обновляться по любой причине. Поставщик услуг уведомит вас о любых изменениях в своей Политике конфиденциальности, обновив эту страницу новой Политикой конфиденциальности. Вам рекомендуется регулярно просматривать эту Политику конфиденциальности на предмет изменений, так как продолжение использования считается одобрением всех изменений.
445
446Эта политика конфиденциальности вступает в силу с {FUNCTORA_CORE_DATE}
447
448Ваше согласие
449
450Используя Приложение, вы даете согласие на обработку вашей информации, как изложено в этой Политике конфиденциальности сейчас и с изменениями, внесенными Поставщиком услуг.
451
452Свяжитесь с нами
453
454Если у вас есть какие-либо вопросы относительно конфиденциальности при использовании Приложения или вопросы о практике, свяжитесь с Поставщиком услуг по электронной почте functora@proton.me."),
455            Self::CopyAppLink => "Скопировать ссылку".into(),
456            Self::ShareAppLink => "Поделиться приложением".into(),
457            Self::Sent => "Отправлено!".into(),
458            Self::SourceCodeButton => "Исходный код".into(),
459            Self::AuthorButton => "Автор".into(),
460            Self::JoinTestingButton => "Вступить в бета-тест".into(),
461            Self::GooglePlayButton => "Google Play".into(),
462            Self::DownloadApkButton => "Скачать APK".into(),
463            Self::AboutAndroidBeta1 => "Приложение Android в закрытом бета-тестировании. Чтобы установить его, вступите в группу".into(),
464            Self::AboutAndroidBetaLink1 => "бета-тестирования".into(),
465            Self::AboutAndroidBeta2 => ", затем установите приложение из".into(),
466            Self::AboutAndroidBetaLink2 => "Google Play".into(),
467            Self::AboutAndroidBeta3 => " или скачайте".into(),
468            Self::AboutAndroidBetaLink3 => "APK-файл".into(),
469            Self::AboutAndroidBeta4 => "напрямую.".into(),
470            Self::PwaInstallPrompt => "Установить PWA".into(),
471            Self::PwaInstallSuccess => "Установлено как PWA!".into(),
472            Self::PwaInstallRejected => "Установка отменена".into(),
473            Self::PwaInstallUnavailable => "Установка PWA недоступна в этом браузере".into(),
474            Self::PwaInstallIos => "Чтобы установить: нажмите «Поделиться», затем «На экран \"Домой\"».".into(),
475            Self::PwaInstallMac => "Чтобы установить: нажмите «Поделиться», затем «Добавить в Dock».".into(),
476            Self::CipherAesLabel => "AES-256-GCM (шифрование)".into(),
477            Self::CipherChaChaLabel => "ChaCha20-Poly1305 (шифрование)".into(),
478            Self::PickingFiles => "Выбор файлов...".into(),
479            Self::FilesAttached(count) => format!("Прикреплено файлов: {count}"),
480        }
481    }
482}