Skip to content

Commit

Permalink
Updated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthonyy232 committed May 14, 2024
1 parent 626b0a4 commit d8d6d48
Show file tree
Hide file tree
Showing 44 changed files with 2,073 additions and 2,969 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
applicationId = "com.anthonyla.paperize"
minSdk = 26
targetSdk = 34
versionCode = 9
versionCode = 10
versionName = "1.2.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,14 @@ fun PrivacyScrollableSettings(

@Composable
fun PrivacyNoticeText() {
SectionText(stringResource(R.string.introduction), stringResource(R.string.welcome_t) + " Paperize! " + stringResource(R.string.this_privacy_notice_outlines_how_we_collect_use_and_protect_your_personal_information_when_you_use_our_mobile_application_by_using) + " Paperize, " + stringResource(R.string.you_agree_to_the_terms_described_in_this_notice))
SectionText(stringResource(R.string.data_collection),
stringResource(R.string.notification_access) + " Paperize " + stringResource(R.string.requests_notification_access_to_provide_you_with_personalized_wallpaper_recommendations_based_on_your_notifications_we_do_not_store_any_notification_content_or_personally_identifiable_information_pii_outside_of_your_device_local_files_we_accesses_files_stored_on_your_device_to_allow_you_to_set_them_as_wallpapers_we_do_not_upload_or_transfer_these_files_to_any_external_servers))
SectionText(stringResource(R.string.information_usage),
stringResource(R.string.personal_data_we_do_not_collect_or_store_any_personal_data_such_as_names_email_addresses_or_phone_numbers_usage_analytics_we_do_not_track_your_usage_behavior_or_collect_analytics_data))
SectionText(stringResource(R.string.data_security),
stringResource(R.string.on_device_storage_all_data_used_by) + " Paperize " + stringResource(R.string.remains_on_your_device_we_do_not_transmit_or_store_any_data_externally))
SectionText(stringResource(R.string.third_party_services),
stringResource(R.string.advertisements) + " Paperize " + stringResource(R.string.does_not_display_third_party_ads_external_links_our_app_may_contain_links_to_external_websites_please_note_that_we_are_not_responsible_for_the_privacy_practices_of_these_sites))
SectionText(stringResource(R.string.children_s_privacy), "Paperize " + stringResource(R.string.is_not_intended_for_children_under_the_age_of_13_we_do_not_knowingly_collect_any_information_from_children))
SectionText(stringResource(R.string.changes_to_this_notice),
stringResource(R.string.we_may_update_this_privacy_notice_from_time_to_time_any_changes_will_be_reflected_in_the_app_and_on_our_website))
SectionText(stringResource(R.string.contact_us), stringResource(R.string.if_you_have_any_questions_or_concerns_about_this_privacy_notice_please_contact_me_at) + " anthonyyla.dev@gmail.com.")
SectionText(stringResource(R.string.privacy_intro_title), stringResource(R.string.privacy_intro_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_data_collection_title), stringResource(R.string.privacy_data_collection_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_information_usage_title), stringResource(R.string.privacy_information_usage_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_data_security_title), stringResource(R.string.privacy_data_security_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_third_party_services_title), stringResource(R.string.privacy_third_party_services_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_children_privacy_title), stringResource(R.string.privacy_children_privacy_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_changes_notice_title), stringResource(R.string.privacy_changes_notice_content, stringResource(R.string.app_name)))
SectionText(stringResource(R.string.privacy_contact_us_title), stringResource(R.string.privacy_contact_us_content, "anthonyyla.dev@gmail.com"))
}

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ fun StartupScreen(
modifier = Modifier
.fillMaxHeight(0.5f)
.align(Alignment.CenterHorizontally)
.semantics { contentDescription = context.getString(R.string.welcome_animation) },
.semantics {
contentDescription = context.getString(R.string.welcome_animation)
},
safeMode = true,
enableMergePaths = true
)
Expand Down Expand Up @@ -185,37 +187,14 @@ fun StartupScreen(
@Composable
fun PrivacyNoticeText() {
LazyColumn {
item {
SectionText(stringResource(R.string.hello), stringResource(R.string.welcome_to) + "Paperize! " + stringResource(
R.string.we_respect_your_privacy_and_protect_your_personal_info_by_using_our_app_you_re_okay_with_our_privacy_policy
) )
}
item {
SectionText(stringResource(R.string.what_we_collect),
stringResource(R.string.we_ask_for_notification_access_to_personalize_your_wallpapers_we_don_t_store_or_share_your_notifications_we_also_access_your_local_files_for_wallpapers_but_don_t_upload_or_transfer_them))
}
item {
SectionText(stringResource(R.string.how_we_use_info),
stringResource(R.string.we_don_t_collect_personal_data_or_track_your_usage_all_your_data_stays_on_your_device))
}
item {
SectionText(stringResource(R.string.security),
stringResource(R.string.your_data_is_safe_with_us_it_stays_on_your_device_at_all_times))
}
item {
SectionText(stringResource(R.string.third_party_services),
stringResource(R.string.no_third_party_ads_here_we_might_have_external_links_but_we_re_not_responsible_for_their_privacy_practices))
}
item {
SectionText(stringResource(R.string.for_kids), "Paperize " + stringResource(R.string.isn_t_for_kids_under_13_we_don_t_knowingly_collect_their_info))
}
item {
SectionText(stringResource(R.string.policy_updates),
stringResource(R.string.we_might_update_this_policy_sometimes_you_ll_see_any_changes_in_the_app_and_on_github))
}
item {
SectionText(stringResource(R.string.contact_us), stringResource(R.string.got_questions_or_concerns_about_our_privacy_policy_email_us_at) + "anthonyyla.dev@gmail.com.")
}
item { SectionText(stringResource(R.string.privacy_intro_title), stringResource(R.string.privacy_intro_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_data_collection_title), stringResource(R.string.privacy_data_collection_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_information_usage_title), stringResource(R.string.privacy_information_usage_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_data_security_title), stringResource(R.string.privacy_data_security_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_third_party_services_title), stringResource(R.string.privacy_third_party_services_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_children_privacy_title), stringResource(R.string.privacy_children_privacy_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_changes_notice_title), stringResource(R.string.privacy_changes_notice_content, stringResource(R.string.app_name))) }
item { SectionText(stringResource(R.string.privacy_contact_us_title), stringResource(R.string.privacy_contact_us_content, "anthonyyla.dev@gmail.com")) }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ fun AlbumBottomSheet(
style = MaterialTheme.typography.titleMedium
) },
supportingContent = {
val totalWallpapers = it.folders.sumOf { folder -> folder.wallpapers.size } + it.wallpapers.size
Text(
text = (it.folders.sumOf { folder -> folder.wallpapers.size } + it.wallpapers.size).toString() + " " + stringResource(R.string.wallpaper),
text = LocalContext.current.resources.getQuantityString(R.plurals.wallpaper_count, totalWallpapers, totalWallpapers),
style = MaterialTheme.typography.bodySmall,
overflow = TextOverflow.Ellipsis
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fun CurrentSelectedAlbum(
supportingContent = {
if (selectedAlbum != null) {
Text(
text = "${selectedAlbum.wallpapers.size} ${stringResource(R.string.wallpaper)}",
text = LocalContext.current.resources.getQuantityString(R.plurals.wallpaper_count, selectedAlbum.wallpapers.size, selectedAlbum.wallpapers.size),
style = MaterialTheme.typography.bodySmall,
overflow = TextOverflow.Ellipsis
)
Expand Down
Loading

0 comments on commit d8d6d48

Please sign in to comment.