Update french translation

This commit is contained in:
Tanguy Herbron 2018-08-04 05:05:12 +02:00
parent d0041a87ba
commit 7b5fd6e786
7 changed files with 22 additions and 4 deletions

Binary file not shown.

View File

@ -25,6 +25,7 @@ android {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
lintOptions { lintOptions {
checkReleaseBuilds false
//disable 'MissingTranslation' //disable 'MissingTranslation'
} }
} }

View File

@ -10,6 +10,7 @@ import android.support.annotation.NonNull;
import android.support.v4.view.GravityCompat; import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout; import android.support.v4.widget.DrawerLayout;
import android.support.v7.graphics.Palette; import android.support.v7.graphics.Palette;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
@ -186,6 +187,8 @@ public class Overview extends Fragment implements CoinmarketcapNotifierInterface
@Override @Override
protected Void doInBackground(List<Currency>... currencies) { protected Void doInBackground(List<Currency>... currencies) {
iconCounter = 0;
for(Currency currency : currencies[0]) for(Currency currency : currencies[0])
{ {
String iconUrl = MoodlBox.getIconUrl(currency.getSymbol(), cryptocompareApiManager); String iconUrl = MoodlBox.getIconUrl(currency.getSymbol(), cryptocompareApiManager);
@ -231,9 +234,10 @@ public class Overview extends Fragment implements CoinmarketcapNotifierInterface
getActivity().runOnUiThread(new Runnable() { getActivity().runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
if(overviewListAdapter == null) if(overviewListAdapter == null)
{ {
overviewListAdapter = new OverviewListAdapter(getActivity().getBaseContext(), currencyList, getActivity()); overviewListAdapter = new OverviewListAdapter(Overview.this.getContext(), currencyList, getActivity());
listLayout.setAdapter(overviewListAdapter); listLayout.setAdapter(overviewListAdapter);
listLayout.setTextFilterEnabled(false); listLayout.setTextFilterEnabled(false);

View File

@ -225,7 +225,7 @@ public class RecordTransactionActivity extends AppCompatActivity implements Curr
CustomTabLayout tabLayout = findViewById(R.id.transactionsTabLayout); CustomTabLayout tabLayout = findViewById(R.id.transactionsTabLayout);
tabLayout.addTab(0, "Buy"); tabLayout.addTab(0, "Buy");
tabLayout.addTab(1, "Sell"); tabLayout.addTab(1, "Sell");
tabLayout.addTab(2, "Transfer"); //tabLayout.addTab(2, "Transfer");
tabLayout.setTabGravity(TabLayout.GRAVITY_FILL); tabLayout.setTabGravity(TabLayout.GRAVITY_FILL);
final ViewPager viewPager = findViewById(R.id.transactionsViewPager); final ViewPager viewPager = findViewById(R.id.transactionsViewPager);

View File

@ -68,7 +68,7 @@ public class BinanceManager extends Exchange {
if(Double.parseDouble(assets.get(i).getFree()) > 0 || Double.parseDouble(assets.get(i).getLocked()) > 0) 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()))); //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()))); balance.add(new Currency(assets.get(i).getAsset(), Double.parseDouble(assets.get(i).getFree()) + Double.parseDouble(assets.get(i).getLocked())));
} }

View File

@ -140,4 +140,17 @@
<string name="wipe_watchlist">Supprimer la liste suivie actuelle</string> <string name="wipe_watchlist">Supprimer la liste suivie actuelle</string>
<string name="wipe_api_keys">Supprimer les clefs API actuelles</string> <string name="wipe_api_keys">Supprimer les clefs API actuelles</string>
<string name="title_add_exchange">Choose an exchange</string> <string name="title_add_exchange">Choose an exchange</string>
<string name="title_activity_exchange_list">Comptes synchronisés</string>
<string name="account_label">Nom du compte</string>
<string name="publicKey">Clé publique</string>
<string name="apiKey">Clé API</string>
<string name="secretKey">Clé secrète</string>
<string name="informations">Informations</string>
<string name="title_choose_coin">Choisir une monnaie</string>
<string name="exchange">Échange</string>
<string name="pair">Paire</string>
<string name="total_value">Valeur totale</string>
<string name="notes">Notes</string>
<string name="select_exchange">Sélectionner un échange</string>
<string name="select_pair">Paire</string>
</resources> </resources>

View File

@ -252,7 +252,7 @@
<string name="wipe_manual_entries">Wipe current entries</string> <string name="wipe_manual_entries">Wipe current entries</string>
<string name="wipe_watchlist">Wipe current watchlist</string> <string name="wipe_watchlist">Wipe current watchlist</string>
<string name="wipe_api_keys">Wipe current API keys</string> <string name="wipe_api_keys">Wipe current API keys</string>
<string name="title_activity_exchange_list">ExchangeList</string> <string name="title_activity_exchange_list">Synced accounts</string>
<string name="title_add_exchange">Choose an exchange</string> <string name="title_add_exchange">Choose an exchange</string>
<string name="account_label">Account label</string> <string name="account_label">Account label</string>
<string name="publicKey">Public key</string> <string name="publicKey">Public key</string>