From 7b5fd6e78629fe88db606ae0722b4a21f94f8089 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 4 Aug 2018 05:05:12 +0200 Subject: [PATCH] Update french translation --- .idea/caches/build_file_checksums.ser | Bin 545 -> 545 bytes app/build.gradle | 1 + .../HomeActivityFragments/Overview.java | 6 +++++- .../Activities/RecordTransactionActivity.java | 2 +- .../ExchangeManager/BinanceManager.java | 2 +- app/src/main/res/values-fr/strings.xml | 13 +++++++++++++ app/src/main/res/values/strings.xml | 2 +- 7 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 539eba9aa6c4cbe8acd7ecfc1518315e44fe0832..083b9b606dd7bd77bba8a5a769b32d9350239cee 100644 GIT binary patch delta 36 ucmV+<0Neke1fc|wmjz`4%D#4yoOclPM~<~KxuakfcU4fK+K;T0BLV&-?hu*) delta 36 ucmV+<0Neke1fc|wmjz_^S+~oPoOclIY;2KJm7`(I<6#7Ko#... currencies) { + iconCounter = 0; + for(Currency currency : currencies[0]) { String iconUrl = MoodlBox.getIconUrl(currency.getSymbol(), cryptocompareApiManager); @@ -231,9 +234,10 @@ public class Overview extends Fragment implements CoinmarketcapNotifierInterface getActivity().runOnUiThread(new Runnable() { @Override public void run() { + if(overviewListAdapter == null) { - overviewListAdapter = new OverviewListAdapter(getActivity().getBaseContext(), currencyList, getActivity()); + overviewListAdapter = new OverviewListAdapter(Overview.this.getContext(), currencyList, getActivity()); listLayout.setAdapter(overviewListAdapter); listLayout.setTextFilterEnabled(false); diff --git a/app/src/main/java/com/herbron/moodl/Activities/RecordTransactionActivity.java b/app/src/main/java/com/herbron/moodl/Activities/RecordTransactionActivity.java index 3557384..3e423b4 100644 --- a/app/src/main/java/com/herbron/moodl/Activities/RecordTransactionActivity.java +++ b/app/src/main/java/com/herbron/moodl/Activities/RecordTransactionActivity.java @@ -225,7 +225,7 @@ public class RecordTransactionActivity extends AppCompatActivity implements Curr CustomTabLayout tabLayout = findViewById(R.id.transactionsTabLayout); tabLayout.addTab(0, "Buy"); tabLayout.addTab(1, "Sell"); - tabLayout.addTab(2, "Transfer"); + //tabLayout.addTab(2, "Transfer"); tabLayout.setTabGravity(TabLayout.GRAVITY_FILL); final ViewPager viewPager = findViewById(R.id.transactionsViewPager); diff --git a/app/src/main/java/com/herbron/moodl/DataManagers/ExchangeManager/BinanceManager.java b/app/src/main/java/com/herbron/moodl/DataManagers/ExchangeManager/BinanceManager.java index f33d9bb..5ecd3a6 100644 --- a/app/src/main/java/com/herbron/moodl/DataManagers/ExchangeManager/BinanceManager.java +++ b/app/src/main/java/com/herbron/moodl/DataManagers/ExchangeManager/BinanceManager.java @@ -68,7 +68,7 @@ public class BinanceManager extends Exchange { if(Double.parseDouble(assets.get(i).getFree()) > 0 || Double.parseDouble(assets.get(i).getLocked()) > 0) { //balance.add(new Currency(assets.get(i).getAsset(), Double.parseDouble(assets.get(i).getFree()) + Double.parseDouble(assets.get(i).getLocked()))); - if(!assets.get(i).getAsset().equals("VEN")) + if(!assets.get(i).getAsset().equals("VET")) { balance.add(new Currency(assets.get(i).getAsset(), Double.parseDouble(assets.get(i).getFree()) + Double.parseDouble(assets.get(i).getLocked()))); } diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 09c6215..0bf9c38 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -140,4 +140,17 @@ Supprimer la liste suivie actuelle Supprimer les clefs API actuelles Choose an exchange + Comptes synchronisés + Nom du compte + Clé publique + Clé API + Clé secrète + Informations + Choisir une monnaie + Échange + Paire + Valeur totale + Notes + Sélectionner un échange + Paire \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7c1557b..64266be 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -252,7 +252,7 @@ Wipe current entries Wipe current watchlist Wipe current API keys - ExchangeList + Synced accounts Choose an exchange Account label Public key