diff --git a/app/build.gradle b/app/build.gradle index d32d640..3b320b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -65,6 +65,12 @@ android { buildConfigField "boolean", "full_instances", "true" buildConfigField "boolean", "google_restriction", "true" } + bittube { + applicationId "app.fedilab.bittube" + buildConfigField "String", "version", "\"google_full\"" + buildConfigField "boolean", "full_instances", "true" + buildConfigField "boolean", "google_restriction", "true" + } } sourceSets { @@ -80,6 +86,9 @@ android { google_full { res.srcDirs = ['src/main/res', 'src/full/res'] } + bittube { + res.srcDirs = ['src/main/res', 'src/bittube/res'] + } } } diff --git a/app/src/main/res/drawable-anydpi-v24/ic_notification_tubelab.xml b/app/src/acad/res/drawable-anydpi-v24/ic_notification_tubelab.xml similarity index 100% rename from app/src/main/res/drawable-anydpi-v24/ic_notification_tubelab.xml rename to app/src/acad/res/drawable-anydpi-v24/ic_notification_tubelab.xml diff --git a/app/src/main/res/drawable-hdpi/ic_notification_tubelab.png b/app/src/acad/res/drawable-hdpi/ic_notification_tubelab.png similarity index 100% rename from app/src/main/res/drawable-hdpi/ic_notification_tubelab.png rename to app/src/acad/res/drawable-hdpi/ic_notification_tubelab.png diff --git a/app/src/main/res/drawable-mdpi/ic_notification_tubelab.png b/app/src/acad/res/drawable-mdpi/ic_notification_tubelab.png similarity index 100% rename from app/src/main/res/drawable-mdpi/ic_notification_tubelab.png rename to app/src/acad/res/drawable-mdpi/ic_notification_tubelab.png diff --git a/app/src/main/res/drawable-xhdpi/ic_notification_tubelab.png b/app/src/acad/res/drawable-xhdpi/ic_notification_tubelab.png similarity index 100% rename from app/src/main/res/drawable-xhdpi/ic_notification_tubelab.png rename to app/src/acad/res/drawable-xhdpi/ic_notification_tubelab.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_notification_tubelab.png b/app/src/acad/res/drawable-xxhdpi/ic_notification_tubelab.png similarity index 100% rename from app/src/main/res/drawable-xxhdpi/ic_notification_tubelab.png rename to app/src/acad/res/drawable-xxhdpi/ic_notification_tubelab.png diff --git a/app/src/main/res/drawable-xxxhdpi/ic_notification_tubelab.png b/app/src/acad/res/drawable-xxxhdpi/ic_notification_tubelab.png similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/ic_notification_tubelab.png rename to app/src/acad/res/drawable-xxxhdpi/ic_notification_tubelab.png diff --git a/app/src/bittube/ic_launcher-playstore.png b/app/src/bittube/ic_launcher-playstore.png new file mode 100644 index 0000000..96e3d80 Binary files /dev/null and b/app/src/bittube/ic_launcher-playstore.png differ diff --git a/app/src/bittube/res/color/bottom_nav_color.xml b/app/src/bittube/res/color/bottom_nav_color.xml new file mode 100644 index 0000000..662d3b2 --- /dev/null +++ b/app/src/bittube/res/color/bottom_nav_color.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/bittube/res/drawable-anydpi-v24/ic_notification_tubelab.xml b/app/src/bittube/res/drawable-anydpi-v24/ic_notification_tubelab.xml new file mode 100644 index 0000000..26878af --- /dev/null +++ b/app/src/bittube/res/drawable-anydpi-v24/ic_notification_tubelab.xml @@ -0,0 +1,864 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/bittube/res/drawable-hdpi/ic_notification_tubelab.png b/app/src/bittube/res/drawable-hdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..064c676 Binary files /dev/null and b/app/src/bittube/res/drawable-hdpi/ic_notification_tubelab.png differ diff --git a/app/src/bittube/res/drawable-mdpi/ic_notification_tubelab.png b/app/src/bittube/res/drawable-mdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..cd4f8bb Binary files /dev/null and b/app/src/bittube/res/drawable-mdpi/ic_notification_tubelab.png differ diff --git a/app/src/bittube/res/drawable-v24/ic_launcher_foreground.xml b/app/src/bittube/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..3494e3e --- /dev/null +++ b/app/src/bittube/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,862 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/bittube/res/drawable-xhdpi/ic_notification_tubelab.png b/app/src/bittube/res/drawable-xhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..4d6d6d2 Binary files /dev/null and b/app/src/bittube/res/drawable-xhdpi/ic_notification_tubelab.png differ diff --git a/app/src/bittube/res/drawable-xxhdpi/ic_notification_tubelab.png b/app/src/bittube/res/drawable-xxhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..eaa5022 Binary files /dev/null and b/app/src/bittube/res/drawable-xxhdpi/ic_notification_tubelab.png differ diff --git a/app/src/bittube/res/drawable-xxxhdpi/ic_notification_tubelab.png b/app/src/bittube/res/drawable-xxxhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..169866f Binary files /dev/null and b/app/src/bittube/res/drawable-xxxhdpi/ic_notification_tubelab.png differ diff --git a/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..ac94b34 --- /dev/null +++ b/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..ac94b34 --- /dev/null +++ b/app/src/bittube/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/bittube/res/mipmap-hdpi/ic_launcher.png b/app/src/bittube/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..440ad47 Binary files /dev/null and b/app/src/bittube/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/bittube/res/mipmap-hdpi/ic_launcher_round.png b/app/src/bittube/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..98441c9 Binary files /dev/null and b/app/src/bittube/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app/src/bittube/res/mipmap-mdpi/ic_launcher.png b/app/src/bittube/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..118b9e8 Binary files /dev/null and b/app/src/bittube/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/bittube/res/mipmap-mdpi/ic_launcher_round.png b/app/src/bittube/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..d0754f8 Binary files /dev/null and b/app/src/bittube/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app/src/bittube/res/mipmap-xhdpi/ic_launcher.png b/app/src/bittube/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..5621131 Binary files /dev/null and b/app/src/bittube/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/bittube/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/bittube/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..4859fc7 Binary files /dev/null and b/app/src/bittube/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app/src/bittube/res/mipmap-xxhdpi/ic_launcher.png b/app/src/bittube/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..55890cd Binary files /dev/null and b/app/src/bittube/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/bittube/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/bittube/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..99059ce Binary files /dev/null and b/app/src/bittube/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..75a224b Binary files /dev/null and b/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..9b92291 Binary files /dev/null and b/app/src/bittube/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/app/src/bittube/res/values/colors.xml b/app/src/bittube/res/values/colors.xml new file mode 100644 index 0000000..e40a9ba --- /dev/null +++ b/app/src/bittube/res/values/colors.xml @@ -0,0 +1,14 @@ + + + #343434 + #343434 + #00abff + + #bbF2690D + #FAFAFA + #2b90d9 + #F44336 + #DD000000 + #F44336 + #80808080 + \ No newline at end of file diff --git a/app/src/bittube/res/values/ic_launcher_background.xml b/app/src/bittube/res/values/ic_launcher_background.xml new file mode 100644 index 0000000..c5d5899 --- /dev/null +++ b/app/src/bittube/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file diff --git a/app/src/bittube/res/values/strings.xml b/app/src/bittube/res/values/strings.xml new file mode 100644 index 0000000..35c10c7 --- /dev/null +++ b/app/src/bittube/res/values/strings.xml @@ -0,0 +1,440 @@ + + Bittube + app.fedilab.bittube + set_video_mode_choice + set_video_minimize_choice + set_video_language_choice + set_video_quality_choice + set_video_cache_choice + set_autoplay_choice + set_store_in_history + set_autoplay_next_video_choice + set_theme_choice + set_fullscreen_choice + set_play_screen_lock_choice + set_video_in_list_choice + set_video_sensitive_choice + Videos in list + Change the layout for displaying videos in a list + No instances ! + Show more + Show less + + Screen lock + Keep playing videos when the screen is locked + + Save + Enable history + Change profile picture + Automatic playback + If enabled, videos will be played automatically + + Fullscreen + Automatically open videos in fullscreen + Autoplay + Automatically start playing the next video + When a video ends, follow up with the next suggested video. + Add a public reply + + Originally published + Activity + App + New video from your subscriptions + New comment on your video + One of your video is blocked/unblocked + Video published (after transcoding/scheduled update) + Video import finished + You or your channel(s) has a new follower + Someone mentioned you in video comments + An abuse report received a new message + One of your abuse reports has been accepted or rejected by moderators + + + %d reply + %d replies + + Reply + Theme + Allow to change app theme + The video cannot be federated! + Home + Local + Discover + Notifications + Recently added + Trending + Most liked + Oops! An error occurred! + Muted + Channels + Do not list + Blur + Display + No opinion + Pick an instance + This instance does not seem to be valid! + No videos! + No notifications! + Favicon + Open with + Edit a playlist + Close + Upload + Image preview + Select the file to upload + + New video + New blacklist info + Your video is published + Error when publishing your video + New comment + New follow + + Channel + Videos + Channels + + Fetch every: + + Never + 15 minutes + 30 minutes + 1 hour + 2 hours + 6 hours + 12 hours + + + Retry + Token refresh failed! + You can retry this action or simply disconnect the current account + Yes + No + Cancel + Download + Profile picture + Update video + Remove from playlist + + %d s + %d m + %d h + %d d + %s views + + Instance host + Uploading, please wait… + The video has been uploaded! + Upload cancelled! + Tap here to edit the video data. + + An error occurred while selecting the media! + + Download %1$s + + The account has been updated! + + Privacy + Logout + Login + + + Password + Email + Tags + + Validate + Share with + Shared via TubeLab + User name + + Settings + Are you sure you want to logout @%1$s@%2$s? + + Following + Followers + Unable to get client id! + An error occurred while switching between accounts! + An error occurred while searching! + No action can be taken + + + Subscribe + + Mute + + Unlimited + MB + GB + Total video quota + Daily video quota + + Mature or explicit content + This video contains mature or explicit content. Are you sure you want to watch it? + Search + Delete + + + Are you sure you want to permanently delete this list? + Delete list + + + Be the first to leave a comment on this video with the top right button! + + Comments are not enabled on this video! + Pick up a resolution + The video has been added to bookmarks! + The video has been removed from bookmarks! + + Information + Logo of the application + + + + Subscriptions + + Delete an instance + Are you sure to delete this instance? + + Delete a comment + Are you sure to delete this comment? + Mode for videos + + Filter + Sepia search + Display sensitive content + Published date + Any + Today + Last 7 days + Last 30 days + Last 365 days + + Duration + + + 10 min)]]> + + Display all categories + Display all licenses + Display all languages + + All of these tags + One of these tags + Apply filter + + Best match + Most recent + Least recent + + + Sort by + Keyword, channel, video, etc. + Sepia Search displays videos and channels that match your search but is not the publisher, nor the owner. If you notice any problems with a video, report it to the administrators on the PeerTube website where the video is published. + My videos + Title + License + Category + Language + This video contains mature or explicit content + Enable video comments + + Description + The video has been updated! + + + Register an account + Email address + Preview + Change preview + Name + Display more + No channels! + Some explanations about your report… + Report video + Report + Pick another instance + History + Edit + + Video settings + Interface + + + Cache + Set the cache for videos (default 100Mb) + Define a default quality for videos + Resolution for videos + Video cache: %d Mb + + Captions + Pick captions + None + Allows to change mode for playing videos (default, streaming or via a browser). + + Delete account comments + Are you sure you want to remove all the comments of this account? + + Delete video + Are you sure to delete this video? + No videos to display! + Share + %1$s commented your video %2$s]]> + %1$s is following your channel %2$s]]> + %1$s is following your account]]> + + %1$s has been published]]> + %1$s succeeded]]> + %1$s failed]]> + %1$s published a new video: %2$s]]> + %1$s has been blacklisted]]> + %1$s has been unblacklisted]]> + %1$s has been accepted]]> + %1$s]]> + Add a public comment + Send comment + All + + Playback speed + Normal + Delete videos history + Are you sure you want to delete all your videos history? + + Export + Import + Successful export! + Tap here to send the export by email + New Playlist + Open the attached file with TubeLab + + Playlists + No playlists + Display name + You don\'t have any playlists. Tap on the \"+\" icon to add a new playlist + You must provide a display name! + The channel is required when the playlist is public. + Create a playlist + There is nothing in this playlist yet. + Confirm password + I agree to %1$s and %2$s + server rules + terms of service + Sign up + Please, fill all the fields! + Passwords don\'t match! + The email doesn\'t seem to be valid! + You will be sent a confirmation e-mail + Use at least 8 characters + Password should contain at least 8 characters + Username should only contain letters, numbers and underscores + Account created! + + Your account has been created!\n\n + Think to validate your email within the 48 next hours.\n\n + You can now connect your account by writing %1$s in the first field and tap on Connect.\n\n + Important: If your instance required validation, you will receive an email once it is validated! + + Account + Report account + + + Normal + Webview + Magnet + Torrent + + + + + Light + Dark + Automatic + + + + + High + Medium + Low + + + Do you want to unfollow this account? + + + Title for the video + Join Peertube + I am at least 16 years old and agree to the %1$s of this instance + Edit profile + Make an action + + + Unsubscribe + + Display sensitive videos + Fullscreen + There are no videos in your favourites! + Remove channel + Are you sure to permanently delete this channel? + + Video in playlists + No muted accounts! + + You must define a name and a display name for this channel! + Create a channel + Edit channel + + Email addresses in %1$s are not allowed! + + Please, specify the reasons + You must be authenticated to proceed to this action! + + The account has been reported! + The comment has been reported! + + + The video has been reported! + + The password must contain at least 6 characters! + + The account has been muted! + + Edit video + + Create an account + + %1$s Subscribers + + Developer + Release %1$s + About the app + Donate + Source code + Issue tracker + No instances match these criteria + Instances picker + Pick this instance + Sensitive videos + Sensitive content: %1$s + %1$s instance followers + Help + + Pick categories + Pick languages + Update information + Fetch notifications + + Add an account + List of accounts + Pause + Play + Minimize + Fast rewind + Fast forward + + Minimize videos size + Minimize videos size when the app is in background (Android N+) + + + Language filter + Filter videos with different languages + \ No newline at end of file diff --git a/app/src/bittube/res/xml/file_paths.xml b/app/src/bittube/res/xml/file_paths.xml new file mode 100644 index 0000000..63687c5 --- /dev/null +++ b/app/src/bittube/res/xml/file_paths.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/full/res/drawable-anydpi-v24/ic_notification_tubelab.xml b/app/src/full/res/drawable-anydpi-v24/ic_notification_tubelab.xml new file mode 100644 index 0000000..4caaeda --- /dev/null +++ b/app/src/full/res/drawable-anydpi-v24/ic_notification_tubelab.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/app/src/full/res/drawable-hdpi/ic_notification_tubelab.png b/app/src/full/res/drawable-hdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..27f4dd8 Binary files /dev/null and b/app/src/full/res/drawable-hdpi/ic_notification_tubelab.png differ diff --git a/app/src/full/res/drawable-mdpi/ic_notification_tubelab.png b/app/src/full/res/drawable-mdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..d7cd8a2 Binary files /dev/null and b/app/src/full/res/drawable-mdpi/ic_notification_tubelab.png differ diff --git a/app/src/full/res/drawable-xhdpi/ic_notification_tubelab.png b/app/src/full/res/drawable-xhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..8633430 Binary files /dev/null and b/app/src/full/res/drawable-xhdpi/ic_notification_tubelab.png differ diff --git a/app/src/full/res/drawable-xxhdpi/ic_notification_tubelab.png b/app/src/full/res/drawable-xxhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..e9879d9 Binary files /dev/null and b/app/src/full/res/drawable-xxhdpi/ic_notification_tubelab.png differ diff --git a/app/src/full/res/drawable-xxxhdpi/ic_notification_tubelab.png b/app/src/full/res/drawable-xxxhdpi/ic_notification_tubelab.png new file mode 100644 index 0000000..21a32b0 Binary files /dev/null and b/app/src/full/res/drawable-xxxhdpi/ic_notification_tubelab.png differ