diff --git a/packages/pl-fe/index.html b/packages/pl-fe/index.html index 960eb6e91..d3847376d 100644 --- a/packages/pl-fe/index.html +++ b/packages/pl-fe/index.html @@ -17,7 +17,7 @@ <%- snippets %> - +
diff --git a/packages/pl-fe/src/locales/en.json b/packages/pl-fe/src/locales/en.json index 6246ab4ea..0f612d85d 100644 --- a/packages/pl-fe/src/locales/en.json +++ b/packages/pl-fe/src/locales/en.json @@ -312,7 +312,7 @@ "antennas.tags": "Tags", "antennas.tags.excluded": "Excluded tags", "app_create.name_label": "App name", - "app_create.name_placeholder": "e.g. 'pl-fe'", + "app_create.name_placeholder": "e.g. 'Nicolium'", "app_create.redirect_uri_label": "Redirect URIs", "app_create.restart": "Create another", "app_create.results.app_label": "App", @@ -529,6 +529,7 @@ "column.followed_tags": "Followed hashtags", "column.followers": "Followers", "column.following": "Following", + "column.frontend_config": "Front-end configuration", "column.group_blocked_members": "Banned members", "column.group_pending_requests": "Pending requests", "column.groups": "Groups", @@ -551,7 +552,6 @@ "column.notifications": "Notifications", "column.outgoing_follow_requests": "Outgoing follow requests", "column.pins": "Pinned posts", - "column.frontend_config": "Front-end configuration", "column.preferences": "Preferences", "column.privacy": "Privacy", "column.public": "Fediverse timeline", @@ -1086,6 +1086,52 @@ "follow_request.authorize": "Authorize", "follow_request.reject": "Reject", "footer.meow": "meow :3 {emoji}", + "frontend_config.copyright_footer.meta_fields.label_placeholder": "Copyright footer", + "frontend_config.crypto_address.meta_fields.address_placeholder": "Address", + "frontend_config.crypto_address.meta_fields.note_placeholder": "Note (optional)", + "frontend_config.crypto_address.meta_fields.ticker_placeholder": "Ticker", + "frontend_config.crypto_donate_panel_limit.meta_fields.limit_placeholder": "Number of items to display in the crypto homepage widget", + "frontend_config.display_fqn_label": "Display domain (eg @user@domain) for local accounts.", + "frontend_config.fields.crypto_addresses_label": "Cryptocurrency addresses", + "frontend_config.fields.edit_theme_label": "Edit theme", + "frontend_config.fields.home_footer_fields_label": "Home footer items", + "frontend_config.fields.logo_alignment": "Logo alignment", + "frontend_config.fields.logo_alignment.center": "Center", + "frontend_config.fields.logo_alignment.left": "Left", + "frontend_config.fields.logo_dark_label": "Logo (dark)", + "frontend_config.fields.logo_label": "Logo", + "frontend_config.fields.promo_panel_fields_label": "Promo panel items", + "frontend_config.fields.theme_label": "Default theme", + "frontend_config.greentext_label": ">render greentext", + "frontend_config.headings.advanced": "Advanced", + "frontend_config.headings.cryptocurrency": "Cryptocurrency", + "frontend_config.headings.events": "Events", + "frontend_config.headings.navigation": "Navigation", + "frontend_config.headings.options": "Options", + "frontend_config.headings.theme": "Theme", + "frontend_config.hints.crypto_addresses": "Add cryptocurrency addresses so users of your site can donate to you. Order matters, and you must use lowercase ticker values.", + "frontend_config.hints.home_footer_fields": "You can have custom defined links displayed on the footer of your static pages", + "frontend_config.hints.logo": "SVG or PNG. At most 2 MB. Will be displayed to 50px height, maintaining aspect ratio", + "frontend_config.hints.logo_dark": "SVG or PNG. At most 2 MB. Will be displayed when in dark mode", + "frontend_config.hints.promo_panel_fields": "You can have custom defined links displayed on the right panel of the timelines page.", + "frontend_config.home_footer.meta_fields.label_placeholder": "Label", + "frontend_config.home_footer.meta_fields.url_placeholder": "URL", + "frontend_config.media_preview_hint": "Some backends provide an optimized version of media for display in timelines. However, these preview images may be too small without additional configuration.", + "frontend_config.media_preview_label": "Prefer preview media for thumbnails", + "frontend_config.promo_panel.meta_fields.icon_placeholder": "Icon", + "frontend_config.promo_panel.meta_fields.label_placeholder": "Label", + "frontend_config.promo_panel.meta_fields.url_placeholder": "URL", + "frontend_config.raw_json_hint": "Edit the settings data directly. Changes made directly to the JSON file will override the form fields above. Click \"Save\" to apply your changes.", + "frontend_config.raw_json_invalid": "is invalid", + "frontend_config.raw_json_label": "Advanced: Edit raw JSON data", + "frontend_config.redirect_root_no_login_hint": "Path to redirect the homepage when a user is not logged in.", + "frontend_config.redirect_root_no_login_label": "Redirect homepage", + "frontend_config.save": "Save", + "frontend_config.saved": "Nicolium config saved!", + "frontend_config.sentry_dsn_hint": "DSN URL for error reporting. Works with Sentry and GlitchTip.", + "frontend_config.sentry_dsn_label": "Sentry DSN", + "frontend_config.tile_server_attribution_label": "Map tiles attribution", + "frontend_config.tile_server_label": "Map tile server", "generic.logo": "Logo", "generic.saved": "Saved", "getting_started.open_source_notice": "{code_name} is open source software. You can contribute or report issues at {code_link} (v{code_version}).", @@ -1479,52 +1525,6 @@ "password_reset.reset": "Reset password", "pinned_accounts.title": "{name}’s choices", "pinned_statuses.none": "No pins to show.", - "frontend_config.copyright_footer.meta_fields.label_placeholder": "Copyright footer", - "frontend_config.crypto_address.meta_fields.address_placeholder": "Address", - "frontend_config.crypto_address.meta_fields.note_placeholder": "Note (optional)", - "frontend_config.crypto_address.meta_fields.ticker_placeholder": "Ticker", - "frontend_config.crypto_donate_panel_limit.meta_fields.limit_placeholder": "Number of items to display in the crypto homepage widget", - "frontend_config.display_fqn_label": "Display domain (eg @user@domain) for local accounts.", - "frontend_config.fields.crypto_addresses_label": "Cryptocurrency addresses", - "frontend_config.fields.edit_theme_label": "Edit theme", - "frontend_config.fields.home_footer_fields_label": "Home footer items", - "frontend_config.fields.logo_alignment": "Logo alignment", - "frontend_config.fields.logo_alignment.center": "Center", - "frontend_config.fields.logo_alignment.left": "Left", - "frontend_config.fields.logo_dark_label": "Logo (dark)", - "frontend_config.fields.logo_label": "Logo", - "frontend_config.fields.promo_panel_fields_label": "Promo panel items", - "frontend_config.fields.theme_label": "Default theme", - "frontend_config.greentext_label": ">render greentext", - "frontend_config.headings.advanced": "Advanced", - "frontend_config.headings.cryptocurrency": "Cryptocurrency", - "frontend_config.headings.events": "Events", - "frontend_config.headings.navigation": "Navigation", - "frontend_config.headings.options": "Options", - "frontend_config.headings.theme": "Theme", - "frontend_config.hints.crypto_addresses": "Add cryptocurrency addresses so users of your site can donate to you. Order matters, and you must use lowercase ticker values.", - "frontend_config.hints.home_footer_fields": "You can have custom defined links displayed on the footer of your static pages", - "frontend_config.hints.logo": "SVG or PNG. At most 2 MB. Will be displayed to 50px height, maintaining aspect ratio", - "frontend_config.hints.logo_dark": "SVG or PNG. At most 2 MB. Will be displayed when in dark mode", - "frontend_config.hints.promo_panel_fields": "You can have custom defined links displayed on the right panel of the timelines page.", - "frontend_config.home_footer.meta_fields.label_placeholder": "Label", - "frontend_config.home_footer.meta_fields.url_placeholder": "URL", - "frontend_config.media_preview_hint": "Some backends provide an optimized version of media for display in timelines. However, these preview images may be too small without additional configuration.", - "frontend_config.media_preview_label": "Prefer preview media for thumbnails", - "frontend_config.promo_panel.meta_fields.icon_placeholder": "Icon", - "frontend_config.promo_panel.meta_fields.label_placeholder": "Label", - "frontend_config.promo_panel.meta_fields.url_placeholder": "URL", - "frontend_config.raw_json_hint": "Edit the settings data directly. Changes made directly to the JSON file will override the form fields above. Click \"Save\" to apply your changes.", - "frontend_config.raw_json_invalid": "is invalid", - "frontend_config.raw_json_label": "Advanced: Edit raw JSON data", - "frontend_config.redirect_root_no_login_hint": "Path to redirect the homepage when a user is not logged in.", - "frontend_config.redirect_root_no_login_label": "Redirect homepage", - "frontend_config.save": "Save", - "frontend_config.saved": "pl-fe config saved!", - "frontend_config.sentry_dsn_hint": "DSN URL for error reporting. Works with Sentry and GlitchTip.", - "frontend_config.sentry_dsn_label": "Sentry DSN", - "frontend_config.tile_server_attribution_label": "Map tiles attribution", - "frontend_config.tile_server_label": "Map tile server", "poll.choose_multiple": "Choose as many as you'd like.", "poll.closed": "Closed", "poll.hide_results": "Hide results", @@ -1549,7 +1549,7 @@ "preferences.fields.content_type_label": "Default post format", "preferences.fields.delete_modal_label": "Show confirmation dialog before deleting a post", "preferences.fields.demetricator_label": "Hide social media counters", - "preferences.fields.demo_hint": "Use the default pl-fe logo and color scheme. Useful for taking screenshots.", + "preferences.fields.demo_hint": "Use the default Nicolium logo and color scheme. Useful for taking screenshots.", "preferences.fields.demo_label": "Demo mode", "preferences.fields.disable_user_provided_media_hint": "This will hide images, videos, and other media uploaded by users and display alternative text instead.", "preferences.fields.disable_user_provided_media_label": "Do not display user-provided media", diff --git a/packages/pl-fe/src/styles/new/layout.scss b/packages/pl-fe/src/styles/new/layout.scss index 9f85d1efd..e6644b46d 100644 --- a/packages/pl-fe/src/styles/new/layout.scss +++ b/packages/pl-fe/src/styles/new/layout.scss @@ -40,7 +40,7 @@ body { } } -#pl-fe { +#app { height: 100%; }