Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Dehm
briar
Commits
42d1f6de
Unverified
Commit
42d1f6de
authored
9 years ago
by
akwizgran
Browse files
Options
Downloads
Patches
Plain Diff
Use verbs instead of yes/no for lost password dialog.
parent
1a01fc46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
briar-android/res/values/strings.xml
+4
-6
4 additions, 6 deletions
briar-android/res/values/strings.xml
briar-android/src/org/briarproject/android/PasswordActivity.java
+2
-2
2 additions, 2 deletions
...ndroid/src/org/briarproject/android/PasswordActivity.java
with
6 additions
and
8 deletions
briar-android/res/values/strings.xml
+
4
−
6
View file @
42d1f6de
...
...
@@ -16,10 +16,8 @@
<string
name=
"create_account_button"
>
Create Account
</string>
<string
name=
"enter_password"
>
Enter your password:
</string>
<string
name=
"password_hint"
>
Password
</string>
<string
name=
"yes"
>
Yes
</string>
<string
name=
"no"
>
No
</string>
<string
name=
"forgotten_password"
>
I have forgotten my password
</string>
<string
name=
"try_again"
>
Wrong password, try again
!
</string>
<string
name=
"try_again"
>
Wrong password, try again
</string>
<string
name=
"sign_in_button"
>
Sign In
</string>
<string
name=
"startup_failed_notification_title"
>
Briar could not start
</string>
<string
name=
"startup_failed_notification_text"
>
You may need to reinstall Briar.
</string>
...
...
@@ -87,6 +85,7 @@
<string
name=
"add_button"
>
Add
</string>
<string
name=
"cancel_button"
>
Cancel
</string>
<string
name=
"done_button"
>
Done
</string>
<string
name=
"delete_button"
>
Delete
</string>
<string
name=
"post_sent_toast"
>
Forum post sent
</string>
<plurals
name=
"private_message_notification_text"
>
<item
quantity=
"one"
>
New private message.
</item>
...
...
@@ -117,7 +116,7 @@
<string
name=
"notify_sound_setting_disabled"
>
None
</string>
<string
name=
"choose_ringtone_title"
>
Choose ringtone
</string>
<string
name=
"panic_app_setting_title"
>
Panic Button App
</string>
<string
name=
"panic_app_setting_summary"
>
No
panic button
app has been set
</string>
<string
name=
"panic_app_setting_summary"
>
No app has been set
</string>
<string
name=
"panic_app_setting_none"
>
None
</string>
<string
name=
"lock_setting_title"
>
Sign Out
</string>
<string
name=
"lock_setting_summary"
>
Sign out of Briar if a panic button is pressed
</string>
...
...
@@ -127,7 +126,6 @@
<string
name=
"online"
>
Online
</string>
<string
name=
"offline"
>
Offline
</string>
<string
name=
"send"
>
Send
</string>
<string
name=
"data_transports"
>
Data Transports
</string>
<string
name=
"transport_tor"
>
Internet
</string>
<string
name=
"transport_bt"
>
Bluetooth
</string>
<string
name=
"transport_lan"
>
Wi-Fi
</string>
...
...
@@ -140,5 +138,5 @@
<string
name=
"dialog_title_delete_contact"
>
Confirm Contact Deletion
</string>
<string
name=
"dialog_message_delete_contact"
>
Are you sure that you want to remove this contact and all messages exchanged with this contact?
</string>
<string
name=
"dialog_title_connect_panic_app"
>
Confirm Panic App
</string>
<string
name=
"dialog_message_connect_panic_app"
>
Are you sure that you want to allow %1$s to trigger destructive panic actions?
</string>
<string
name=
"dialog_message_connect_panic_app"
>
Are you sure that you want to allow %1$s to trigger destructive panic
button
actions?
</string>
</resources>
This diff is collapsed.
Click to expand it.
briar-android/src/org/briarproject/android/PasswordActivity.java
+
2
−
2
View file @
42d1f6de
...
...
@@ -113,8 +113,8 @@ public class PasswordActivity extends BaseActivity {
AlertDialog
.
Builder
builder
=
new
AlertDialog
.
Builder
(
this
);
builder
.
setTitle
(
R
.
string
.
dialog_title_lost_password
);
builder
.
setMessage
(
R
.
string
.
dialog_message_lost_password
);
builder
.
setNegativeButton
(
R
.
string
.
n
o
,
null
);
builder
.
setPositiveButton
(
R
.
string
.
yes
,
builder
.
setNegativeButton
(
R
.
string
.
cancel_butto
n
,
null
);
builder
.
setPositiveButton
(
R
.
string
.
delete_button
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment