typo locale fix and todo: move toast messages to locales

This commit is contained in:
Feruz 2019-08-05 09:27:14 +03:00
parent 5bb5239120
commit 16e49cfdec
6 changed files with 33 additions and 31 deletions

1
.gitignore vendored
View File

@ -57,6 +57,7 @@ buck-out/
config.js
!src/screens/steem-connect/config.js
android/app/google-services.json
keystore/
.env
package-lock.json

View File

@ -9,154 +9,154 @@
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>7</integer>
<integer>3</integer>
</dict>
<key>AppCenterReactNativeShared.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>8</integer>
<integer>4</integer>
</dict>
<key>BugsnagReactNative.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>10</integer>
<integer>6</integer>
</dict>
<key>CodePush.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>11</integer>
<integer>7</integer>
</dict>
<key>DoubleConversion.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>12</integer>
<integer>8</integer>
</dict>
<key>FLAnimatedImage.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>13</integer>
<integer>9</integer>
</dict>
<key>Folly.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>14</integer>
<integer>10</integer>
</dict>
<key>Pods-eSteem-tvOS.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>17</integer>
<integer>13</integer>
</dict>
<key>Pods-eSteem-tvOSTests.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>18</integer>
<integer>14</integer>
</dict>
<key>Pods-eSteem.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>16</integer>
<integer>12</integer>
</dict>
<key>Pods-eSteemTests.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>19</integer>
<integer>15</integer>
</dict>
<key>QBImagePickerController-QBImagePicker.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>21</integer>
<integer>17</integer>
</dict>
<key>QBImagePickerController.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>20</integer>
<integer>16</integer>
</dict>
<key>RNIap.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>25</integer>
<integer>21</integer>
</dict>
<key>RNImageCropPicker.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>26</integer>
<integer>22</integer>
</dict>
<key>RSKImageCropper.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>27</integer>
<integer>23</integer>
</dict>
<key>SDWebImage.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>28</integer>
<integer>24</integer>
</dict>
<key>boost-for-react-native.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>9</integer>
<integer>5</integer>
</dict>
<key>glog.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>15</integer>
<integer>11</integer>
</dict>
<key>react-native-fast-image.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>22</integer>
<integer>18</integer>
</dict>
<key>react-native-netinfo.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>23</integer>
<integer>19</integer>
</dict>
<key>react-native-version-number.xcscheme</key>
<dict>
<key>isShown</key>
<false/>
<key>orderHint</key>
<integer>24</integer>
<integer>20</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>

View File

@ -12,7 +12,7 @@
<key>eSteem.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>29</integer>
<integer>30</integer>
</dict>
</dict>
</dict>

View File

@ -20,7 +20,7 @@
"ignore": "ignored you",
"reblog": "reblogged your post",
"transfer": "transfered steem",
"comingsoon": "Leaderboard feature is coming soon!",
"comingsoon": "Feature is coming soon!",
"notification": "Notifications",
"leaderboard": "Leaderboard",
"epoint": "Points",
@ -125,7 +125,7 @@
},
"voters": {
"voters_info": "Voters Info",
"no_user": "No user found."
"no_user": "User is not found."
},
"login": {
"signin": "Sign in",
@ -190,7 +190,7 @@
"fail": "Fail!",
"move": "Move",
"move_question": "Are you sure to move to drafts?",
"success_shared": "Your post succesfully shared",
"success_shared": "Your post successfully shared",
"success_moved": "Moved to draft",
"permission_denied": "Permission denied",
"permission_text": "Please, go to phone Settings and change eSteem app permissions.",
@ -211,10 +211,10 @@
"same_user": "This user already added to list",
"unknow_error": "An error occurred",
"error": "Error",
"fetch_error": "Fetching data from server failed, please try again or notify us at info@esteem.app"
"fetch_error": "Fetching data failed, please try again or notify us at info@esteem.app"
},
"post": {
"reblog_alert": "Are you sure you want to reblog?",
"reblog_alert": "Are you sure, you want to reblog?",
"removed_hint": "The post was removed by",
"copy_link": "Copy Link",
"reblogged": "reblogged by",
@ -290,7 +290,7 @@
"to": "To",
"amount": "Amount",
"memo": "Memo",
"information": "Are you sure to transfer to funds?",
"information": "Are you sure to transfer funds?",
"amount_desc": "Balance",
"memo_desc": "This memo is public",
"to_placeholder": "Username",
@ -314,7 +314,7 @@
"user": "User",
"permlink": "Post",
"permlinkPlaceholder": "author/permlink",
"information": "Are you sure to transfer to promote?"
"information": "Are you sure to promote?"
},
"boostPost": {
"title": "Boost"

View File

@ -118,7 +118,8 @@ class SettingsContainer extends Component {
isError = true;
dispatch(toastNotification('Connection Failed!'));
} finally {
if (!isError) dispatch(toastNotification('Succesfuly connected!'));
//TODO: move toast messages to locale files
if (!isError) dispatch(toastNotification('Successfully connected!'));
}
if (!isError) {