Predefined message keys
16 min
predefined message keys in pxp the purple experience uses a set of predefined message keys that allow you to customize all user facing text in your app find a list below bookmarks keys controlling the bookmarks feature the list view, deletion dialogs, and creation date display key default value notes app bar title bookmarks bookmarks title in the app bar when viewing bookmarks bookmarks title your bookmarks page heading bookmark creation date message added on %s %s = formatted date string bookmark page label page label prefix for page level bookmarks bookmark page label message page %s %s = page number bookmark no results there are no bookmarks empty state message bookmark error error loading bookmarks error state heading bookmark error button reload button label for reload on error bookmark custom message singular 1 bookmark count label singular bookmark custom message plural %s bookmarks %s = count; used for 2 or more article bookmarks title articles section heading for article bookmarks article bookmarks message singular 1 article bookmarked count label singular article bookmarks message plural %s articles bookmarked %s = count button delete all bookmarks delete all bookmarks button label bookmark delete title delete bookmark dialog title bookmark delete message are you sure you want to delete this bookmark? dialog body (no title known) bookmark delete message with title are you sure you want to delete the bookmark for "%s"? %s = bookmark title bookmark delete all title delete bookmarks dialog title for bulk delete bookmark delete all message are you sure you want to delete all bookmarks? bulk delete dialog body bookmark delete all of issue message are you sure you want to delete all bookmarks for the issue "%s"? %s = issue name bookmark delete cancel cancel cancel button in delete dialog bookmark delete confirm delete confirm button in delete dialog issues and downloads keys for the issue list, issue detail view, download dialogs, and update prompts key default value notes issue title %s %s = issue title issue description %s %s = issue description body issue description toggle expand more expand toggle label issue description toggle collapse collapse collapse toggle label issue publication title %s %s = publication name issue more read article cta button on issue tile issue not found the requested content could not be found 404 state issue error error loading issue data error state heading issue error button try again reload button issue update badge message update available badge text on issue tile issue update title update available dialog title issue update message a new version of this issue "%s" is available would you like to read the old version or the new one? %s = issue name issue update old version read old version dialog button issue update new version read new version dialog button issue delete title delete issue dialog title issue delete message do you really want to delete the issue %s? %s = issue name issue delete confirm delete confirm button issue delete cancel cancel cancel button issue download confirm title download issue dialog title issue download confirm message downloading issue "%(issue name)s"? %(issue name)s = issue name (named placeholder) issue download confirm ok ok confirm button issue download confirm cancel cancel cancel button issue action read read issue action button issue action download download issue action button issue action downloading downloading issue action button (in progress state) issue action preview preview issue action button issue action purchase purchase for %s %s = price string issue action purchase loading loading price shown while price is fetched issue action purchase unavailable price not available shown when price cannot be retrieved issue action subscribe subscribe issue action button issue action login login issue action button (requires login) issue action coupon coupon issue action button issue action cancel cancel issue action button issue action delete delete issue action button issue action delete bookmarks delete all for this issue issue action button subscriptions keys for the subscription store screen, pricing display, and subscription management key default value notes publication subscriptions title subscriptions for screen heading (publication name appended) publication subscriptions header introduction text regarding subscriptions introductory text block replace with your own copy publication subscriptions footer \<strong>terms of use\</strong> terms of use go here footer html block replace with your legal terms publication subscriptions manage subscriptions manage subscriptions link/button label publication subscriptions restore purchases restore purchases button label subscription title %s %s = subscription product name subscription description %s %s = subscription description subscription price %s %s = price string subscription action purchase purchase for %s %s = price string subscription action purchase unavailable price not available shown when price cannot be loaded subscription price trial free for %1$s %2$s %1$s = duration number, %2$s = unit (e g days) subscription price discount try %1$s x %2$s %3$s for %4$s %1$s = count, %2$s = duration, %3$s = unit, %4$s = discounted price subscription price introductory try %1$s x %2$s %3$s for %4$s same placeholders as discount price subscription price final then %1$s / %2$s %3$s %1$s = regular price, %2$s = duration, %3$s = unit subscription issues promotion %1$s issues for %2$s %1$s = issue count, %2$s = price subscription issues additional promotion %1$s issues for the price of %2$s was %3$s now %4$s %1$s = count, %2$s = new price, %3$s = old price, %4$s = final price restore purchases button restore purchases button label (standalone) restore purchases teaser already a subscriber? teaser text above restore button vouchers and coupon codes keys for the voucher redemption screen key default value notes coupon title voucher screen/section title coupon code title enter voucher code input field label coupon code placeholder voucher code input placeholder text coupon submit button redeem voucher submit button coupon teaser \<h4>redeem your voucher here\</h4>if you've received a promotional voucher introductory text block; supports html coupon activated title your activated voucher codes heading for the list of active codes coupon deactivate button delete button to remove a code coupon deactivate title deactivate voucher code dialog title coupon deactivate message do you really want to deactivate the code %s? %s = coupon code coupon deactivate button confirm ok confirm button coupon deactivate button cancel cancel cancel button coupon valid title add voucher success dialog title coupon valid message the code you entered is valid success dialog body coupon valid button ok ok success dialog confirm coupon valid button cancel cancel success dialog cancel login and logout keys for the login form and logout confirmation key default value notes login title login screen title login teaser log in for more content teaser text above the form login teaser relogin you have been logged out please log in again shown after session expiry login username placeholder email username field placeholder login password placeholder password password field placeholder login submit button log in submit button login help forgotten your password? \<a href=' '>recover\</a> helper text; supports html with a link login logout title logout logout confirm dialog title login logout teaser do you really want to logout? logout confirm dialog body login logout button log out logout button label logout title logout alternative logout dialog title logout message do you really want to logout? alternative logout dialog body logout button confirm logout confirm button logout button cancel cancel cancel button search keys for the search screen and results display key default value notes search field placeholder search input placeholder search result title %s results %s = result count search result empty title no results heading when nothing is found search result no result no content was found for your search phrase "%1$s" please try again %1$s = search term search result no search please enter a search phrase shown before any search is submitted search result page label message page %s %s = page number in result search result page hit excerpt %s %s = matching excerpt text search result toggle expand show more show more results button search result toggle collapse collapse collapse results button navigation keys for bottom navigation labels and section headings key default value notes navigation home home bottom nav tab navigation newsstand newsstand bottom nav tab navigation feed newsfeed bottom nav tab navigation search search bottom nav tab home list title latest articles section heading on home screen home swiper title latest issues section heading on home screen toggle publication type channel articles toggle label for article view toggle publication type kiosk issues toggle label for issue view dropdown category reset show all category filter reset option dropdown issue state reset all issues issue state filter all dropdown issue state purchased my issues issue state filter purchased dropdown issue state local my downloads issue state filter downloaded list and dialog controls generic keys that are used across list views, expandable content, and modal dialogs key default value notes list no results there are no contents matching the filter criteria empty state list error error loading data %s %s = error detail list error button reload reload button on list error list entry toggle expand show %u more %u = count of hidden items list entry toggle collapse show %u less %u = count list entries toggle expand show %u more same as above; used in grouped contexts list entries toggle collapse show %u less same as above list grouped entry toggle expand show %u more grouped entry expand list grouped entry toggle collapse show %u less grouped entry collapse list grouped entries toggle expand show %u more grouped entries expand list grouped entries toggle collapse show %u less grouped entries collapse list action select all select all bulk action list action unselect all deselect all bulk action list action confirm confirm bulk action confirm list action reset reset bulk action reset dialog title dialog generic dialog title fallback dialog error error generic error dialog title fallback pull to refresh pull pull to refresh pull to refresh hint pull to refresh release release to refresh pull to refresh release hint menu item %s %s = menu item label view error error loading data %s %s = error detail view error button reload reload button on view error error messages keys for all user facing error notifications most accept a %s placeholder for a technical error detail that can be appended to the message key default value notes error login the login could not be performed %s %s = error detail error purchase the purchase could not be completed %s %s = error detail error subscription the subscription could not be purchased please try again later error product product data could not be loaded %s %s = error detail error download download failed for %2$s %1$s %1$s = error detail, %2$s = item name error content open error opening content %s %s = error detail error preview open error opening preview %s %s = error detail error deep link landing shared issue could not be opened %s %s = error detail error search the search could not be performed please try again later error share content could not be shared error add bookmark bookmark could not be created %1$s %1$s = error detail error delete bookmark this bookmark could not be deleted %s %s = error detail error delete bookmark with title the bookmark for "%2$s" could not be deleted %1$s %1$s = error detail, %2$s = bookmark title error delete all bookmarks not all bookmarks could be deleted %s %s = error detail error coupon invalid the code you entered is not valid error coupon invalid button ok dialog button error coupon exists this code is already added error coupon exists button ok dialog button error coupon offline no internet connection! this code could not be added error coupon offline button ok dialog button error coupon deactivate this code could not be deactivated error coupon deactivate button ok dialog button error coupon deactivate offline no internet connection! this code could not be deactivated error coupon deactivate offline button ok dialog button error coupon deactivate unknown code is unknown! this code could not be deactivated error coupon deactivate unknown button ok dialog button system and access messages generic system messages for authentication state, connectivity, and unknown errors key default value notes access denied access denied shown when content requires a subscription or login payment required access denied shown when payment is required to access content not logged in you are not logged in already logged in you are already logged in already owned you already own this product invalid credentials please check your username and password network please check your internet connection offline / connectivity error not found the requested content could not be found no issues found the requested content could not be found resource not found the requested resource could not be found unknown offer the requested offer could not be found unknown product the requested product could not be found unknown vendor vendor is unknown unknown an unknown error occurred generic fallback error cancelled process was cancelled by user configuration error error in remote system insufficient space the storage on your device is not sufficient shown during downloads validation failed the purchase could not be validated article content (extended) these keys are available in apps using the extended storefront and control article detail page elements, sponsorship labels and custom post types key default value notes article content publication date published %1s at %2s %1s = date, %2s = time article content tag headline tags label above tag list article sponsor text sponsored sponsored by \<span class="sponsor name">%s\</span> %s = sponsor name; html allowed article sponsor text native advertorial partnered content with \<span class="sponsor name">%s\</span> %s = sponsor name article sponsor text native true partnered content with \<span class="sponsor name">%s\</span> %s = sponsor name article sponsored brand advertisement feature with %s %s = brand name article sponsor text advertisement feature with %s %s = sponsor name read time %s min read %s = estimated minutes author articles headline recent articles by %s %s = author name hero article button read more cta on hero article tile taxonomy latest articles headline what's new? heading on taxonomy/tag pages content and catalog items keys for the content component, which displays generic catalog items such as articles, chapters, episodes, or any non issue content type the content component is separate from the issue component both support similar action patterns but have independent sets of message keys, so you can customize their labels independently key default value notes content title %s %s = content title content description %s %s = content description body content publication title %s %s = publication name content description toggle expand show more expand toggle for long descriptions content description toggle collapse show less collapse toggle for long descriptions content error error loading content data error state heading content error button try again reload button on error state content update badge message update available badge text on content tile content action read read action button content is unlocked content action subscribe subscribe action button locked content, subscription option available content action login login action button locked content, login required; only shown when the user is not logged in content action coupon coupon action button locked content, coupon entry option available content action purchase purchase for %s action button locked content, single purchase available; %s = formatted price content action purchase loading loading price shown while the price is being fetched from the store content action purchase unavailable price not available shown when the price cannot be loaded (missing product id or store configuration error) pdf downloads the keys label the download button variants full pdf, single page, and left/right page of a two page spread key default value notes download pdf full download full pdf button label download pdf single download single page button label download pdf single left download left page button label (spread view) download pdf single right download right page button label (spread view) placeholder syntax reference purple message keys use sprintf js style placeholders syntax meaning example %s single string value added on %s %u unsigned integer show %u more %1$s , %2$s positional string (for reordering in translations) %1$s error in %2$s %(name)s named placeholder %(issue name)s when writing translations, always preserve placeholder tokens exactly including the $ and position number where present