Skip to content

Commit

Permalink
v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rignaneseleo committed Apr 19, 2016
1 parent 79ed141 commit 45323e3
Show file tree
Hide file tree
Showing 11 changed files with 439 additions and 338 deletions.
10 changes: 10 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,14 @@ v2.2.0
- Black theme improved
- Fixed friends icon in the black theme

v2.2.1
- Fixed bug (upload photo on comment)
- Fixed bug (hold back button doesn't close the app)
- Changed big textsize (110 to 120) and added huge size (140)
- Added Norwegian translation (Yomawaru from ackuna.com)
- Updated German translation (Stefan Hoermann from ackuna.com)
- Updated Portuguese translation (elcioebel from ackuna.com)
- Updated Chinese translations (dic1911)


! Consider the possibility to donate !
473 changes: 224 additions & 249 deletions SlimFacebook/.idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SlimFacebook/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "it.rignanese.leo.slimfacebook"
minSdkVersion 15
targetSdkVersion 23
versionCode 25
versionName "2.2.0"
versionCode 26
versionName "2.2.1"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
!!!!!!!!!!!!!!! Special thanks to https://github.com/indywidualny/FaceSlim !!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! I've token some inspiration an code from their work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!! I've token some inspiration and code from their work!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*/

package it.rignanese.leo.slimfacebook;
Expand All @@ -25,7 +25,6 @@
import android.provider.MediaStore;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
Expand Down Expand Up @@ -72,7 +71,7 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
savedPreferences = PreferenceManager.getDefaultSharedPreferences(this); // setup the sharedPreferences
switch (savedPreferences.getString("pref_theme", "standard")) {
case "StandardNoBar":{
case "StandardNoBar": {
setTheme(R.style.SlimSocialNoActionBar);
break;
}
Expand Down Expand Up @@ -417,27 +416,17 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) {
} // end of code for Lollipop only
}


//*********************** KEY ****************************
// management the back button
// handling the back button
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (event.getAction() == KeyEvent.ACTION_DOWN) {
switch (keyCode) {
case KeyEvent.KEYCODE_BACK:
if (webViewFacebook.canGoBack()) {
webViewFacebook.goBack();
} else {
// exit
finish();
}
return true;
}
public void onBackPressed() {
if (webViewFacebook.canGoBack()) {
webViewFacebook.goBack();
} else {
finish();// exit
}
return super.onKeyDown(keyCode, event);
}


//*********************** MENU ****************************
//add my menu
@Override
Expand All @@ -447,7 +436,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
return true;
}

//management the tap on the menu's items
//handling the tap on the menu's items
@Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
Expand Down Expand Up @@ -542,9 +531,9 @@ private void setUpWebViewDefaults(WebView webView) {

private void goHome() {
if (savedPreferences.getBoolean("pref_recentNewsFirst", false)) {
webViewFacebook.loadUrl(getString(R.string.urlFacebookMobile) + "?sk=h_chr");//load .facebook.com/home.php
webViewFacebook.loadUrl(getString(R.string.urlFacebookMobile) + "?sk=h_chr");
} else {
webViewFacebook.loadUrl(getString(R.string.urlFacebookMobile) + "?sk=h_nor");//load m.facebook.com
webViewFacebook.loadUrl(getString(R.string.urlFacebookMobile) + "?sk=h_nor");
}
}
private void refreshPage() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public MyWebViewClient(Context context) {
}

// when there isn't a connetion
@SuppressWarnings("deprecation")
@Override
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
Context context = view.getContext();
Expand All @@ -47,12 +46,6 @@ public void onReceivedError(WebView view, int errorCode, String description, Str
view.loadData(summary, "text/html; charset=utf-8", "utf-8");//load a custom html page
}

@TargetApi(android.os.Build.VERSION_CODES.M)
@Override// redirect to deprecated method, so we can use it in all SDK versions
public void onReceivedError(WebView view, WebResourceRequest req, WebResourceError err) {
onReceivedError(view, err.getErrorCode(), err.getDescription().toString(), req.getUrl().toString());
}

// when I click in a external link
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
Expand Down
75 changes: 55 additions & 20 deletions SlimFacebook/app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,79 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
-->
<resources>

<!-- !!! PLEASE TRANSLATE KEEPING THIS FORMAT. !!! -->

<!-- Some strings have been removed because they are not translatable,
so the english version will be automatically applied for these strings. -->

<!-- TRANSLATION IS MADE BY: xdevs23 (Simao) -->
<!-- TRANSLATION IS MADE BY: *anononymous ackuser* -->

<!--menu string-->
<string name="refresh">Aktualisieren</string>
<string name="openInBrowser">Im Browser öffnen</string>
<string name="settings">Einstellungen</string>
<string name="share">Teile diese App</string>
<string name="share">Diese App teilen</string>
<!--end menu string-->

<!--settings-->
<string name="prefCat_fb_settings_title">Facebook-Einstellungen</string>
<string name="prefCat_app_settings_title">App-Einstellungen</string>
<string name="prefCat_app_information_title">App-Information</string>
<string name="title_recentNewsFirst">Sortiere die Neuigkeiten nach Relevanz</string>
<string name="summary_recentNewsFirst">Statt Top-Stories</string>
<string name="title_selectTheme">Theme auswählen</string>
<string name="summary_selectTheme">Wähle dein bevorzugtes Design</string>
<string name="prefCat_fb_settings_title">Facebook Einstellungen</string>
<string name="prefCat_app_settings_title">App Einstellungen</string>
<string name="prefCat_app_information_title">App Information</string>
<string name="title_recentNewsFirst">Neuigkeiten ordnen (neueste zuerst)</string>
<string name="summary_recentNewsFirst">Anstatt nach Top Stories</string>
<string name="title_centerTextPosts">Text des Posts zentrieren</string>
<string name="summary_centerTextPosts">Text von jedem Post wird zentriert</string>
<string name="summary_addSpaceBetweenPosts">Es wird mehr Platz zwischen den Posts geben</string>
<string name="title_addSpaceBetweenPosts">Mehr Platz zwischen den Posts</string>
<string name="summary_creditsCssThemes">Danke für die fantastischen Stile!</string>
<string name="summary_theme">Wählen Sie den Stil, der Ihnen gefällt</string>
<string name="title_fixedBar">Fixierte Leiste oben</string>
<string name="summary_fixedBar">Die blaue Leiste wird oben fixiert</string>
<string name="title_blackTheme">Dunkler Stil</string>
<string name="summary_blackTheme">Der Hintergrund wird schwarz und der Text weiß. (Gut für AMOLED Bildschirme)</string>
<string name="title_hideSponsoredPosts">Keine empfohlenen Beiträge zeigen</string>
<string name="summary_hideSponsoredPosts">Es werden keine empfohlenen Beiträge gezeigt!</string>
<string name="title_downloadImages">Daten speichern</string>
<string name="summary_downloadImages">Keine Bilder herunterladen</string>
<string name="summary_allowGeolocation">Facebook wird auf Ihren Standort zugreifen können</string>
<string name="title_allowGeolocation">GPS Zugriff erlauben</string>
<string name="title_selectTheme">Stil wählen</string>
<string name="summary_selectTheme">Wählen Sie Ihren Lieblingsstil</string>
<string name="version">Version</string>
<string name="credits">Credits</string>
<string name="prefCat_otherCredits_title">Anderes</string>
<string name="prefCat_developersCredits_title">Entwickler</string>
<string name="summary_LeonardoRignanese">Urheber und Entwickler der App</string>
<string name="prefCat_translatorsCredits_title">Übersetzer</string>
<string name="prefCat_designersCredits_title">Designer</string>
<string name="donate">Spende</string>
<string name="donateToContribute">Ich habe mich dazu entschieden es kostenlos zu machen. Können Sie mir einen Kaffee spendieren?</string>
<string name="prefCat_you_title">Sie</string>
<string name="summary_you">It\'s also thanks to you that this app exists</string>
<string name="title_you">Sie sind wichtig</string>
<!--end settings-->

<!--page error-->
<string name="titleNoConnection">Ups, wir haben ein Problem!</string>
<string name="descriptionNoConnection">Überprüfe Deine Verbindung und versuche es erneut.</string>
<string name="awards">Diese App ist Open-Source.</string>
<string name="titleNoConnection">Ops, es gibt ein Problem!</string>
<string name="descriptionNoConnection">Versuchen sie die Verbindung zu überprüfen und erneuern Sie danach.</string>
<string name="awards">Das ist eine Open Source App.</string>
<!--end page error-->

<!--other-->
<string name="downloadInstruction">Du kannst SlimFacebook hier herunterladen:\n - Öffne https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Melde Dich mit deinem Google-Konto an (falls noch nicht geschehen)\n - Drücke \"Tester werden\"\n - Öffne dies mit der Play Store-App: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook</string>
<string name="downloadInstruction">To download SlimFacebook you have to:\n - Open https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Login in Google (if you aren\'t already logged)\n - Push \"Become a tester\"\n - Open this with the Play Store App: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook</string>
<string name="thanks">Danke!</string>
<string name="downloadOrShareWithBrowser">Mithilfe des Browsers kannst Du das Bild ansehen und teilen.</string>
<string name="downloadOrShareWithBrowser">Durch das Öffnen des browsers können Sie Bilder herunterladen und teilen</string>
<string name="shareThisLink">Diesen Link teilen</string>
<string name="chooseAnImage">Ein Bild auswählen</string>
<string name="summary_FaceSlim">Ohne sie kann ich einige attraktive Funktionen hinzufügen. Wenn Sie ein Entwickler sind, sollten Sie die großen Mengen an Arbeit sehen!</string>
<string name="summary_lRemainl">Schöpfer des ausgezeichneten Logos</string>
<string name="summary_Pharetra">Voller Talent und kreativität</string>
<string name="exit">Ausgang</string>
<string name="noPersonalInformationAreShared">Keine persönlichen oder privaten Informationen über Sie oder ihres Gerätes werden gesammelt oder versendet von dieser App!</string>
<string name="title_theme">Stile</string>
<string name="applyingChanges">Änderungen speichern</string>
<string name="title_textSize">Textgröße</string>
<string name="title_enableFastShare">Schnelles Teilen erlauben</string>
<string name="summary_enableFastShare">Mit schnellem Teilen können Sie jeden link teilen, indem Sie einfach darauf tippen und halten</string>
<string name="summary_textSize">Wählen Sie die Textgröße, die Ihnen gefällt</string>
<!--end other-->


<!-- PLAY STORE PAGE
DESCRIPTION ( max 80 char! shape and adapt it. use http://www.charcounter.com/ ):
Mit nur 700Kb kannst du Facebook erleben! (in der Web-Version)
Expand Down
79 changes: 79 additions & 0 deletions SlimFacebook/app/src/main/res/values-no/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!--
SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
-->
<resources>
<!-- TRANSLATION IS MADE BY: *anonymous ackuna* -->

<!--menu string-->
<string name="refresh">Oppdater</string>
<string name="openInBrowser">Åpne i nettleseren</string>
<string name="settings">Innstillinger</string>
<string name="share">Del denne appen</string>
<!--end menu string-->

<!--settings-->
<string name="prefCat_fb_settings_title">Facebook-innstillinger</string>
<string name="prefCat_app_settings_title">App-innstillinger</string>
<string name="prefCat_app_information_title">App-informasjon</string>
<string name="title_recentNewsFirst">Ordne nyhetsstrømmen etter mest nylig</string>
<string name="summary_recentNewsFirst">I stedet for etter topphendelser</string>
<string name="title_centerTextPosts">Sentrer innleggstekstene</string>
<string name="summary_centerTextPosts">Teksten i hvert innlegg vil bli sentrert</string>
<string name="summary_addSpaceBetweenPosts">Det vil være mer opprom mellom innleggene</string>
<string name="title_addSpaceBetweenPosts">Mer rom mellom innlegg</string>
<string name="summary_creditsCssThemes">Takk for de fantastiske temaene!</string>
<string name="summary_theme">Velg temaet som du liker</string>
<string name="title_fixedBar">Fiksert topplinje</string>
<string name="summary_fixedBar">Den blåe linjen vil sitte fast på toppen.</string>
<string name="title_blackTheme">Mørkt tema</string>
<string name="summary_blackTheme">Bakgrunnen vil være svart og teksten hvit. (Bra for AMOLED-skjermer)</string>
<string name="title_hideSponsoredPosts">Ikke vis sponsede innlegg</string>
<string name="summary_hideSponsoredPosts">Det vil ikke finnes noen sponsede innlegg!</string>
<string name="title_downloadImages">Lagre data</string>
<string name="summary_downloadImages">Ikke last ned bilder</string>
<string name="summary_allowGeolocation">Facebook vil kunne få tilgang til din posisjon</string>
<string name="title_allowGeolocation">Tillat bruk av GPS</string>
<string name="title_selectTheme">Velg temaet</string>
<string name="summary_selectTheme">velg ditt favorittema</string>
<string name="version">Versjon</string>
<string name="credits">Bidragsytere</string>
<string name="prefCat_otherCredits_title">Annet</string>
<string name="prefCat_developersCredits_title">Utviklere</string>
<string name="summary_LeonardoRignanese">Skaper og utvikler av appen</string>
<string name="prefCat_translatorsCredits_title">Oversettere</string>
<string name="prefCat_designersCredits_title">Designere</string>
<string name="donate">Doner</string>
<string name="donateToContribute">Jeg valgte å gjøre det gratis. Kan du tilby meg en kopp kaffe?</string>
<string name="prefCat_you_title">Deg</string>
<string name="summary_you">Det er også takket være deg at denne appen finnes</string>
<string name="title_you">Du er viktig</string>
<!--end settings-->

<!--page error-->
<string name="titleNoConnection">Ups, det er et problem!</string>
<string name="descriptionNoConnection">Forsøk å sjekke tilkoblingen og oppdater.</string>
<string name="awards">Dette er en app med åpen kildekode.</string>
<!--end page error-->

<!--other-->
<string name="downloadInstruction" >For å laste ned SlimFacebook så må du:\n - Åpne https://play.google.com/apps/testing/it.rignanese.leo.slimfacebook \n - Logge inn i Google (hvis du ikke allerede er det)\n - Trykke \"Bli en tester\"\n - Åpne dette med Play Store-appen: https://play.google.com/store/apps/details?id=it.rignanese.leo.slimfacebook</string>
<string name="thanks">Takk!</string>
<string name="downloadOrShareWithBrowser">Åpner nettleser hvor du kan laste ned eller dele dette bildet.</string>
<string name="shareThisLink">Del denne lenken</string>
<string name="chooseAnImage">Velg et bilde</string>
<string name="summary_FaceSlim">Uten dem, kunne jeg ikke ha lagt til noen attraktive funksjoner! Hvis du er en utvikler, så må du se det gedigne arbeidet deres!</string>
<string name="summary_lRemainl">Skaper av den fantastiske logoen</string>
<string name="summary_Pharetra">Fulle av talent og kreativitet</string>
<string name="exit">Avslutt</string>
<string name="noPersonalInformationAreShared">Ingen personlig eller privat informasjon angående deg eller din enhet blir samlet inn eller overført av denne appen!</string>
<string name="title_theme">Temaer</string>
<string name="applyingChanges">Bruker endringer!</string>
<string name="title_textSize">Tekststørrelse</string>
<string name="title_enableFastShare">Aktiver rask deling</string>
<string name="summary_enableFastShare">Med rask deling kan du dele en hvilken som helst lenke ved å bare trykke og holde på den</string>
<string name="summary_textSize">Velg tekststørrelsen du foretrekker</string>
<!--end other-->


</resources>
Loading

0 comments on commit 45323e3

Please sign in to comment.