Skip to content

Redesign align translations [NMA-290] - #302

Merged
HashEngineering merged 30 commits into
redesignfrom
redesign-align-translations
Jan 29, 2020
Merged

HashEngineering merged 30 commits into
redesignfrom
redesign-align-translations

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Jan 13, 2020 •

Copy link
Copy Markdown
Collaborator

A python script was created to generate an HTML report with differences in source text between the Android and iOS apps.

Some conventions still need to be decided and the Android app is not completely finished with the redesign so it will be missing some text.

html report is here: https://htmlpreview.github.io/?https://raw.githubusercontent.com/dashevo/dash-wallet/redesign-align-translations/translations/translation-comparison-report.html

@HashEngineering HashEngineering changed the title Redesign align translations Redesign align translations [NMA-290] Jan 13, 2020
@HashEngineering

HashEngineering commented Jan 17, 2020 •

Copy link
Copy Markdown
Collaborator Author

This will ready for review after #307 and #308 is merged. Both will be adding strings and possibly the last set of text that needs to be added.

@HashEngineering
HashEngineering force-pushed the redesign-align-translations branch from 4b9b12f to ded4f77 Compare January 22, 2020 17:20
@HashEngineering
HashEngineering marked this pull request as ready for review January 24, 2020 05:51
android:paddingRight="16dp"
android:paddingLeft="16dp"
android:text="Log Out"
android:text="@string/uphold_logout"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the string id instead of a literal.

<string name="authenticate_switch_to_pin">Use Password</string>

<string name="menu_buy_and_sell_title">Buy &amp; Sell Dash"</string>
<string name="menu_buy_and_sell_title">Buy &amp; Sell Dash</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extra quote was a typo.

<string name="about_copyright">Copyright © 2020 Dash Core</string>
<string name="about_license">GNU General Public License v3.0</string>
<string name="about_github_link">https://github.com/dashevo/dash-wallet</string>
<string name="about_github_link" translatable="false">https://github.com/dashevo/dash-wallet</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is not translatable.


<string name="scan_private_key">Scan Private Key</string>
<string name="scan_private_key_intro_1">You are about to sweep funds from another Dash wallet.</string>
<string name="scan_private_key_intro_1">You are about to sweep funds from a Dash paper wallet.</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not match iOS, which says "from another Dash Wallet"

Comment on lines +273 to +274
<string name="one_minute">1 min</string>
<string name="five_minute">5 min</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These match the designs and iOS, though I think its better to spell it out.

<string name="wallet_transactions_fragment_coinbase">mined</string>
<string name="wallet_transactions_fragment_internal">internal</string>
<string name="wallet_transactions_options_filter">Filter</string>
<string name="wallet_transactions_options_filter">Filter Transactions</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change matches iOS, but this string is not used.

Comment on lines +98 to +99
<string name="sweep_wallet_fragment_password">Password</string>
<string name="sweep_wallet_fragment_bad_password">Bad password!</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Password matches iOS. In this app these text items are used with Backup Files.

Comment on lines +181 to +182
<string name="transaction_row_status_masternode_update_registrar">Masternode Update</string>
<string name="transaction_row_status_masternode_update_service">Masternode Update</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The iOS app doesn't seem to distinguish the two types of Masternode Update transactions.

<string name="uphold_buy_dash_button">Buy Dash</string>
<string name="uphold_transfer_to_this_wallet_button">Transfer from Uphold</string>
<string name="uphold_link_account">Link Uphold account</string>
<string name="uphold_link_account">Link Uphold Account</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a Title

<string name="uphold_withdrawal_success_title">Success</string>
<string name="uphold_withdrawal_success_message">Your transaction was sent and the amount should appear in your wallet in a few minutes.\n\nTransaction id: %s</string>
<string name="uphold_otp_dialog_title">Enter your 2FA code below:</string>
<string name="uphold_otp_dialog_title">Enter your 2FA code below</string>

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This matches iOS. We could probably update this dialog in Uphold later.

@HashEngineering

Copy link
Copy Markdown
Collaborator Author

@tomasz-ludek Hard coded text, not numbers, have been removed. One for two texts were not removed that pertain to unused layout files.

@tomasz-ludek tomasz-ludek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this PR, tremendous work done @HashEngineering!
Well done!

@HashEngineering
HashEngineering merged commit e1025c7 into redesign Jan 29, 2020
@HashEngineering
HashEngineering deleted the redesign-align-translations branch March 17, 2020 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants