Skip to content

Instantly share code, notes, and snippets.

@HOLARO
Created February 4, 2018 22:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HOLARO/c77a0eb8e312a102f706fb86e3cfcc02 to your computer and use it in GitHub Desktop.
Save HOLARO/c77a0eb8e312a102f706fb86e3cfcc02 to your computer and use it in GitHub Desktop.
Just Java - strings
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Header text for app name [CHAR LIMIT=NONE] -->
<string name="app_name">NEW Just Java</string>
<!-- Hint text for the user's name [CHAR LIMIT=20] -->
<string name="name">Name</string>
<!-- Header text for toppings [CHAR LIMIT=20] -->
<string name="toppings">Toppings</string>
<!-- Checkbox text for whipped cream topping [CHAR LIMIT=20] -->
<string name="whipped_cream">Whipped cream</string>
<!-- Checkbox text for chocolate topping [CHAR LIMIT=20] -->
<string name="chocolate">Chocolate</string>
<!-- Header text for quantity [CHAR LIMIT=20] -->
<string name="quantity">Quantity</string>
<!-- Character on decrement button -->
<string name="minus">-</string>
<!-- Character on increment button -->
<string name="plus">+</string>
<!-- Character character displaying the quantity -->
<string name="initial_quantity_value">0</string>
<!-- Text on order button [CHAR LIMIT=10] -->
<string name="order">Order</string>
<!--
Name for the order summary. It will be shown in the format of "Name: Amy" where Amy is the
user's name. [CHAR LIMIT=NONE]
-->
<string name="order_summary_name">Name: <xliff:g id="name" example="Amy">%s</xliff:g></string>
<!--
Whipped cream topping for the order summary. It will be shown in the format of
"Add whipped cream? true" or "Add whipped cream? false". [CHAR LIMIT=NONE]
-->
<string name="order_summary_whipped_cream">Add whipped cream? <xliff:g id="addWhippedCream" example="true">%b</xliff:g></string>
<!--
Chocolate topping for the order summary. It will be shown in the format of
"Add chocolate? true" or "Add chocolate? false". [CHAR LIMIT=NONE]
-->
<string name="order_summary_chocolate">Add chocolate? <xliff:g id="addChocolate" example="true">%b</xliff:g></string>
<!--
Quantity of coffee cups for the order summary. It will be shown in the format of
"Quantity: 2", where 2 is the number of cups ordered. [CHAR LIMIT=NONE]
-->
<string name="order_summary_quantity">Quantity: <xliff:g id="quantity" example="2">%d</xliff:g></string>
<!--
Total price for the order summary. It will be shown in the format of
"Total: $10" where $10 is the price. [CHAR LIMIT=NONE]
-->
<string name="order_summary_price">Total: $<xliff:g id="price" example="$10">%d</xliff:g></string>
<!-- Thank you message for the order summary. [CHAR LIMIT=NONE] -->
<string name="thank_you">Thank you!</string>
<!--
Subject line for the order summary email. It will be in the format of
"Just Java order for Amy" where Amy is the user's name. [CHAR LIMIT=NONE]
-->
<string name="order_summary_email_subject">Just Java order for <xliff:g id="name" example="Amy">%s</xliff:g></string>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment