set editor buttons strings programmatically

Signed-off-by: Grarak <williye97@gmail.com>