This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kolena Studio | |
Notifications 0 | |
Store | |
Community | |
You & Friends | |
Support | |
Account details | |
Store preferences | |
Change language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Options when formatting a date | |
*/ | |
interface DateFormatOptions { | |
includeYear?: Boolean; | |
} | |
/** | |
* For English, format a date with given options, adding an ordinal | |
* e.g. "May 1st, 1992" (note the "1st"). For non-English locales, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
class Locale | |
{ | |
/** | |
* Cached copy of the configured supported locales | |
* | |
* @var string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getBrowserLocales(options = {}) { | |
const defaultOptions = { | |
languageCodeOnly: false, | |
}; | |
const opt = { | |
...defaultOptions, | |
...options, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from "vue" | |
import VueI18n from "vue-i18n" | |
import getBrowserLocale from "@/util/i18n/get-browser-locale" | |
import { supportedLocalesInclude } from "./util/i18n/supported-locales" | |
import { | |
getChoiceIndex, | |
setDefaultChoiceIndexGet | |
} from "./util/i18n/choice-index-for-plural" | |
import dateTimeFormats from "@/locales/date-time-formats" | |
import numberFormats from "@/locales/number-formats" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
[RequireComponent(typeof(Rigidbody2D))] | |
public class PlayerMovement : MonoBehaviour | |
{ | |
public static Action<Vector2, bool> OnMovementCalculated; | |
[SerializeField] private float _speed = 7; | |
[SerializeField] private float _jumpForce = 1000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>@Smart.Format(Resources.ReplyCount, 0)</p> | |
<!-- ☝️ outputs "لا توجد ردود" --> | |
<p>@Smart.Format(Resources.ReplyCount, 1)</p> | |
<!-- ☝️ outputs "رد واحد" --> | |
<p>@Smart.Format(Resources.ReplyCount, 2)</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>@Smart.Format(Resources.ReplyCount, 1)</p> | |
<!-- ☝️ outputs "1 reply" --> | |
<p>@Smart.Format(Resources.ReplyCount, 0)</p> | |
<!-- ☝️ outputs "0 replies" --> | |
<p>@Smart.Format(Resources.ReplyCount, 2)</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>@Html.Raw(Resources.LimitedTimeOffer)</p> |
NewerOlder