Capitalize words
This commit is contained in:
parent
29b7aa7b7d
commit
1ffbc15dca
|
@ -72,7 +72,7 @@ class UserService {
|
|||
await dialog.hide();
|
||||
_logger.info(e);
|
||||
if (e.response != null && e.response.statusCode == 403) {
|
||||
showErrorDialog(context, "Oops", "this email is already in use");
|
||||
showErrorDialog(context, "Oops", "This email is already in use");
|
||||
} else {
|
||||
showGenericErrorDialog(context);
|
||||
}
|
||||
|
@ -485,8 +485,8 @@ class UserService {
|
|||
Sodium.base642bin(secretDecryptionNonce)));
|
||||
} catch (e) {
|
||||
await dialog.hide();
|
||||
showErrorDialog(context, "incorrect recovery key",
|
||||
"the recovery key you entered is incorrect");
|
||||
showErrorDialog(context, "Incorrect recovery key",
|
||||
"The recovery key you entered is incorrect");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -229,7 +229,7 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
|
|||
actions: [
|
||||
TextButton(
|
||||
child: Text(
|
||||
"ok",
|
||||
"Ok",
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).buttonColor,
|
||||
),
|
||||
|
@ -284,7 +284,7 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
|
|||
}
|
||||
|
||||
Future<bool> _moveFilesToCollection(int toCollectionID) async {
|
||||
final dialog = createProgressDialog(context, "moving files to album...");
|
||||
final dialog = createProgressDialog(context, "Moving files to album...");
|
||||
await dialog.show();
|
||||
try {
|
||||
int fromCollectionID = widget.selectedFiles.files?.first?.collectionID;
|
||||
|
@ -329,7 +329,7 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
|
|||
}
|
||||
|
||||
Future<bool> _addToCollection(int collectionID) async {
|
||||
final dialog = createProgressDialog(context, "uploading files to album...");
|
||||
final dialog = createProgressDialog(context, "Uploading files to album...");
|
||||
await dialog.show();
|
||||
try {
|
||||
final List<File> files = [];
|
||||
|
@ -365,7 +365,7 @@ class _CreateCollectionPageState extends State<CreateCollectionPage> {
|
|||
|
||||
Future<Collection> _createAlbum(String albumName) async {
|
||||
Collection collection;
|
||||
final dialog = createProgressDialog(context, "creating album...");
|
||||
final dialog = createProgressDialog(context, "Creating album...");
|
||||
await dialog.show();
|
||||
try {
|
||||
collection = await CollectionsService.instance.createAlbum(albumName);
|
||||
|
|
|
@ -62,14 +62,14 @@ class _SetWallpaperDialogState extends State<SetWallpaperDialog> {
|
|||
actions: [
|
||||
TextButton(
|
||||
child: Text(
|
||||
"ok",
|
||||
"Ok",
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
onPressed: () async {
|
||||
Navigator.of(context, rootNavigator: true).pop('dialog');
|
||||
final dialog = createProgressDialog(context, "setting wallpaper");
|
||||
final dialog = createProgressDialog(context, "Setting wallpaper");
|
||||
await dialog.show();
|
||||
try {
|
||||
await WallpaperManagerFlutter().setwallpaperfromFile(
|
||||
|
|
|
@ -31,7 +31,7 @@ class _AppVersionWidgetState extends State<AppVersionWidget> {
|
|||
_consecutiveTaps++;
|
||||
if (_consecutiveTaps == kTapThresholdForInspector) {
|
||||
final dialog =
|
||||
createProgressDialog(context, "starting network inspector...");
|
||||
createProgressDialog(context, "Starting network inspector...");
|
||||
await dialog.show();
|
||||
await Future.delayed(
|
||||
Duration(milliseconds: kDummyDelayDurationInMilliseconds));
|
||||
|
|
Loading…
Reference in a new issue