Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Welook moments #32

Merged
merged 14 commits into from
Aug 30, 2022
17 changes: 17 additions & 0 deletions lib/common/routes/pages.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:get/get.dart';
import 'package:poapin/data/models/moment.dart';
import 'package:poapin/ui/pages/app/binding.dart';
import 'package:poapin/ui/pages/app/page.dart';
import 'package:poapin/ui/pages/collection/binding.dart';
Expand All @@ -13,6 +14,10 @@ import 'package:poapin/ui/pages/home/binding.dart';
import 'package:poapin/ui/pages/home/page.dart';
import 'package:poapin/ui/pages/me/binding.dart';
import 'package:poapin/ui/pages/me/page.dart';
import 'package:poapin/ui/pages/moment/binding.dart';
import 'package:poapin/ui/pages/moment/page.dart';
import 'package:poapin/ui/pages/moments/binding.dart';
import 'package:poapin/ui/pages/moments/page.dart';
import 'package:poapin/ui/pages/not_found/page.dart';
import 'package:poapin/ui/pages/profile/binding.dart';
import 'package:poapin/ui/pages/profile/page.dart';
Expand Down Expand Up @@ -53,6 +58,18 @@ class AppPages {
page: () => const WatchlistPage(),
binding: WatchlistBinding(),
),
GetPage(
name: AppRoutes.moments,
page: () => const MomentsPage(),
binding: MomentsBinding(),
),
GetPage(
name: AppRoutes.moment,
page: () => MomentPage(
moment: Moment.empty(),
),
binding: MomentBinding(),
),
GetPage(
name: AppRoutes.square,
page: () => const SquarePage(),
Expand Down
2 changes: 2 additions & 0 deletions lib/common/routes/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ abstract class AppRoutes {
static const dashboard = '/dashboard';
static const home = '/home';
static const watchlist = '/watchlist';
static const moments = '/moments';
static const moment = '/moments/:id';
static const square = '/square';
static const me = '/me';
static const tags = '/tags';
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class DeTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/en_gb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class EnGBTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/en_us.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class EnUSTranslations {
Strings.newTag: 'New Tag',
Strings.newTagHint: 'new tag for event',

/// Moments
Strings.momentsDesc: '''Your POAP collection is your digital ID.

It shows the world who you are: where you’ve been, what you achieved and who you’ve met.

Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
''',
Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
Strings.watchlistHint:
'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ESTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class FRTranslations {
Strings.newTag: 'Nouveau Tag',
Strings.newTagHint: 'nouveau tag d\'évènement',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
Strings.watchlistHint:
'Vous pouvez ajouter ici les adresses qui vous intéressent.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class JaTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/ko.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class KoTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/ru.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class RuTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/th.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ThTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/tr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class TrTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/uk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class UkTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/vi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ViTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/zh_cn.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ZhCNTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/zh_hk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ZhHKTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/languages/zh_tw.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@ class ZhTWTranslations {
// Strings.newTag: 'New Tag',
// Strings.newTagHint: 'new tag for event',

/// Moments
// Strings.momentsDesc: '''Your POAP collection is your digital ID.
//
// It shows the world who you are: where you’ve been, what you achieved and who you’ve met.
//
// Moments is a way to add real value to your digital bookmark by saving real-life instances in a POAP, forever.
// ''',
//Strings.uploadMoments: 'Upload moments on welook.io',

/// Watchlist(Initial state)
// Strings.watchlistHint:
// 'You can add some addresses you are interested in here.',
Expand Down
9 changes: 9 additions & 0 deletions lib/common/translations/strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class Strings {
static const newTag = 'new_tag';
static const newTagHint = 'new_tag_hint';

static const momentsDesc = 'moments_desc';
static const uploadMoments = 'upload_moments';

static const watchlistHint = 'watchlist_hint';
static const addCollection = 'add_collection';

Expand Down Expand Up @@ -145,6 +148,9 @@ String get strEditTags => Strings.editTags.tr;
String get strNewTag => Strings.newTag.tr;
String get strNewTagHint => Strings.newTagHint.tr;

String get strMomentsDesc => Strings.momentsDesc.tr;
String get strUploadMoments => Strings.uploadMoments.tr;

String get strWatchlistHint => Strings.watchlistHint.tr;
String get strAddCollection => Strings.addCollection.tr;

Expand Down Expand Up @@ -205,6 +211,9 @@ String get strPOAPxyz => 'POAP.xyz';
String get strPOAPdirectory => 'POAP.director';
String get strGitPOAP => 'GitPOAP';

/// Moments
String get strMoments => 'Moments';

/// ---
/// Settings
String get strTwitter => 'Twitter';
Expand Down
Loading