You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
412 B

  1. using System;
  2. namespace CIG.Translation
  3. {
  4. public class RawLongString : ILocalizedString
  5. {
  6. public RawLongString(long l)
  7. {
  8. this._long = l;
  9. }
  10. public override string ToString()
  11. {
  12. return "[LongString=" + this._long.ToString() + "]";
  13. }
  14. public string Translate()
  15. {
  16. return this._long.ToString("N0", Localization.CurrentCulture.Info);
  17. }
  18. private long _long;
  19. }
  20. }