Plurality in user messages

前端 未结 25 1518
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 01:53

Many times, when generating messages to show to the user, the message will contain a number of something that I want to inform the customer about.

I\'ll give a

25条回答
  •  醉话见心
    2021-01-30 02:44

    You can sidestep the issue entirely by phrasing the message differently.

    string message = "The number of selected items is " + noofitemsselected + ". Are you sure you want to delete everything in this selection?";
    

提交回复
热议问题