Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c59d2ecb authored by David Luhmer's avatar David Luhmer
Browse files
parents 551768a2 18284481
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -65,4 +65,17 @@ public final class SingleAccountHelper {
    public static void reauthenticateCurrentAccount(Activity activity) throws NoCurrentAccountSelectedException, NextcloudFilesAppAccountNotFoundException, NextcloudFilesAppNotSupportedException, NextcloudFilesAppAccountPermissionNotGrantedException {
        AccountImporter.authenticateSingleSignAccount(activity, getCurrentSingleSignOnAccount(activity));
    }
    
    public static void registerSharedPreferenceChangeListener(Context context, 
                                                                SharedPreferences.OnSharedPreferenceChangeListener listener) {
        AccountImporter.getSharedPreferences(context)
                .registerOnSharedPreferenceChangeListener(listener);
    }
    
    public static void unregisterSharedPreferenceChangeListener(Context context,
                                                                SharedPreferences.OnSharedPreferenceChangeListener listener) {
        AccountImporter.getSharedPreferences(context)
                .unregisterOnSharedPreferenceChangeListener(listener);
        
    }
}
+13 −0
Original line number Diff line number Diff line
@@ -7,14 +7,27 @@
    <string name="current_account_not_found_exception_message">No s\'ha trobat el compte seleccionat. Alguna cosa ha fallat.</string>

    <string name="token_mismatch_title">Error</string>
    <string name="token_mismatch_message">L\'identificador (token) d\'autentificació que heu proporcionat no coincideix o el nom del paquet no té permís per realitzar aquesta acció</string>

    <string name="nextcloud_files_app_not_installed_title">Error</string>
    <string name="nextcloud_files_app_not_installed_message" formatted="true">L\'aplicació Fitxers de Nextcloud no està instal·lada. Si us plau, instal·leu-la: %1$s</string>

    <string name="nextcloud_files_app_account_not_found_title">Error</string>
    <string name="nextcloud_files_app_account_not_found_message">No s\'ha trobat el compte a l\'aplicació de fitxers de nextcloud</string>

    <string name="nextcloud_files_app_account_permission_not_granted_title">Error</string>
    <string name="nextcloud_files_app_account_permission_not_granted_message">Heu d\'acceptar els permisos sol·licitats per fer servir la funcionalitat d\'inici de sessió única.</string>

    <string name="nextcloud_http_request_failed_title">Error</string>
    <string name="nextcloud_http_request_failed_message" formatted="true">Ha fallat la petició HTTP amb el codi d\'estat HTTP: %1$d</string>

    <string name="nextcloud_files_app_not_supported_title">Error</string>
    <string name="nextcloud_files_app_not_supported_message" formatted="true">La vostra aplicació de fitxers nextcloud no disposa de l\'inici de sessió única. Si us plau, actualitzeu-la: %1$s</string>


    <string name="nextcloud_files_api_not_responsing_title">Error</string>
    <string name="nextcloud_files_api_not_responsing_message">L\'API de l\'aplicació de fitxers Nextcloud no està responent. Si us plau, informeu d\'aquest problema.</string>

    <string name="select_account_unknown_error_toast">Alguna cosa ha fallat. Torneu-ho a intentar.</string>

</resources>
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@
    <string name="nextcloud_files_app_not_supported_message" formatted="true">현재 Nextcloud Files App 은 단일 로그인 기능을 지원하지 않습니다. %1$s를 업데이트 해주세요</string>


    <string name="nextcloud_files_api_not_responsing_title">오류</string>
    <string name="nextcloud_files_api_not_responsing_message">Nextcloud Files App이 응답하지 않습니다. 이 오류를 보고해주세요.</string>

    <string name="select_account_unknown_error_toast">설정을 확인하시고 다시 시도해 주세요</string>

</resources>