mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-06 15:21:21 +08:00
Change public strings of "Journal" to "Notes"
This commit is contained in:
lib/screens
test_driver
@ -99,7 +99,7 @@ class JournalBrowsingScreenState extends State<JournalBrowsingScreen> {
|
||||
}
|
||||
|
||||
Widget _buildAlertDialog(BuildContext context) {
|
||||
var title = "Are you sure you want to delete this Journal Entry?";
|
||||
var title = "Are you sure you want to delete this Note?";
|
||||
|
||||
return AlertDialog(
|
||||
content: Text(title),
|
||||
|
@ -40,7 +40,7 @@ class JournalListingScreen extends StatelessWidget {
|
||||
);
|
||||
Navigator.of(context).push(route);
|
||||
},
|
||||
emptyText: "Why not add your first\n Journal Entry?",
|
||||
emptyText: "Let's add some notes?",
|
||||
);
|
||||
|
||||
var title = notesFolder.parent == null ? "Notes" : notesFolder.pathSpec();
|
||||
|
@ -175,7 +175,7 @@ class OnBoardingPage1 extends StatelessWidget {
|
||||
Center(child: header),
|
||||
const SizedBox(height: 64.0),
|
||||
AutoSizeText(
|
||||
"A Journaling App focused on\nOpenness and Data Privacy",
|
||||
"A Note Taking App built on top of Git",
|
||||
style: textTheme.headline,
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 2,
|
||||
@ -211,7 +211,7 @@ class OnBoardingPage2 extends StatelessWidget {
|
||||
Center(child: header),
|
||||
const SizedBox(height: 64.0),
|
||||
AutoSizeText(
|
||||
"Your Journal Entries are stored in a\nstandard Markdown + YAML\nHeader format",
|
||||
"Your Notes are stored in a\nstandard Markdown + YAML\nHeader format",
|
||||
style: textTheme.headline,
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 3,
|
||||
|
@ -47,7 +47,7 @@ void main() {
|
||||
await driver.tap(find.byValueKey("GetStarted"));
|
||||
|
||||
// Main Screen
|
||||
final loadedFinder = find.text('Why not add your first\n Journal Entry?');
|
||||
final loadedFinder = find.text("Let's add some notes?");
|
||||
await driver.waitFor(loadedFinder, timeout: const Duration(seconds: 5));
|
||||
// await _takeScreenshot();
|
||||
|
||||
|
Reference in New Issue
Block a user