project_files/HedgewarsMobile/Classes/WeaponCellView.m
changeset 6671 5532d5f6285c
parent 6670 d57fa21781ea
child 6700 e04da46ee43c
equal deleted inserted replaced
6670:d57fa21781ea 6671:5532d5f6285c
   218     switch (slider.tag) {
   218     switch (slider.tag) {
   219         case 100:
   219         case 100:
   220             str = NSLocalizedString(@"Initial quantity",@"ammo selection");
   220             str = NSLocalizedString(@"Initial quantity",@"ammo selection");
   221             break;
   221             break;
   222         case 200:
   222         case 200:
   223             if (IS_IPAD() && (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])))
   223             if (IS_ON_PORTRAIT())
   224                 str = NSLocalizedString(@"Probability in crates",@"ammo selection");
   224                 str = NSLocalizedString(@"Probability in crates",@"ammo selection");
   225             else
   225             else
   226                 str = NSLocalizedString(@"Presence probability in crates",@"ammo selection");
   226                 str = NSLocalizedString(@"Presence probability in crates",@"ammo selection");
   227             break;
   227             break;
   228         case 300:
   228         case 300:
   229             if (IS_IPAD() && (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])))
   229             if (IS_ON_PORTRAIT())
   230                 str = NSLocalizedString(@"Weapon delay",@"ammo selection");
   230                 str = NSLocalizedString(@"Weapon delay",@"ammo selection");
   231             else
   231             else
   232                 str = NSLocalizedString(@"Turns before this weapon becomes usable",@"ammo selection");
   232                 str = NSLocalizedString(@"Turns before this weapon becomes usable",@"ammo selection");
   233             break;
   233             break;
   234         case 400:
   234         case 400:
   235             if (IS_IPAD() && (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])))
   235             if (IS_ON_PORTRAIT())
   236                 str = NSLocalizedString(@"Quantity per crate",@"ammo selection");
   236                 str = NSLocalizedString(@"Quantity per crate",@"ammo selection");
   237             else
   237             else
   238                 str = NSLocalizedString(@"Quantity you will find in a crate",@"ammo selection");
   238                 str = NSLocalizedString(@"Quantity you will find in a crate",@"ammo selection");
   239             break;
   239             break;
   240         default:
   240         default: