// Token: 0x0600022B RID: 555 RVA: 0x0000C784 File Offset: 0x0000A984 protected override string GetResourceKey(string resourceKey, int number) { RussianGrammaticalNumber grammaticalNumber = RussianGrammaticalNumberDetector.Detect(number); string suffix = this.GetSuffix(grammaticalNumber); return(resourceKey + suffix); }
private string GetSuffix(RussianGrammaticalNumber grammaticalNumber) { if (grammaticalNumber == RussianGrammaticalNumber.Singular) return "_Singular"; if (grammaticalNumber == RussianGrammaticalNumber.Paucal) return "_Paucal"; return ""; }
private static int GetIndex(RussianGrammaticalNumber grammaticalNumber) { if (grammaticalNumber == RussianGrammaticalNumber.Singular) return 0; if (grammaticalNumber == RussianGrammaticalNumber.Paucal) return 1; return 2; }
private static int GetIndex(RussianGrammaticalNumber number) { if (number == RussianGrammaticalNumber.Singular) return 0; if (number == RussianGrammaticalNumber.Paucal) return 1; return 2; }
/// <summary> /// Gets the suffix. /// </summary> /// <param name="grammaticalNumber">The grammatical number.</param> /// <returns>System.String.</returns> private string GetSuffix(RussianGrammaticalNumber grammaticalNumber) { if (grammaticalNumber == RussianGrammaticalNumber.Singular) { return("_Singular"); } if (grammaticalNumber == RussianGrammaticalNumber.Paucal) { return("_Paucal"); } return(""); }
// Token: 0x060001DA RID: 474 RVA: 0x0000AA99 File Offset: 0x00008C99 private static int GetIndex(RussianGrammaticalNumber number) { if (number == RussianGrammaticalNumber.Singular) { return(0); } if (number == RussianGrammaticalNumber.Paucal) { return(1); } return(2); }