comparison src/popupmenu.c @ 32383:b8e9ea3c1ed0 v9.0.1523

patch 9.0.1523: some error messages are not marked for translation Commit: https://github.com/vim/vim/commit/276410e78f0b82e3123059383994d2f4c578dfbd Author: zeertzjq <zeertzjq@outlook.com> Date: Sun May 7 21:59:33 2023 +0100 patch 9.0.1523: some error messages are not marked for translation Problem: Some error messages are not marked for translation. Solution: Surround the messages in _(). (closes https://github.com/vim/vim/issues/12356)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 May 2023 23:00:03 +0200
parents 29631532eceb
children 87f59a64efab
comparison
equal deleted inserted replaced
32382:39901eb11943 32383:b8e9ea3c1ed0
1524 1524
1525 // When there are only Terminal mode menus, using "popup Edit" results in 1525 // When there are only Terminal mode menus, using "popup Edit" results in
1526 // pum_size being zero. 1526 // pum_size being zero.
1527 if (pum_size <= 0) 1527 if (pum_size <= 0)
1528 { 1528 {
1529 emsg(e_menu_only_exists_in_another_mode); 1529 emsg(_(e_menu_only_exists_in_another_mode));
1530 return; 1530 return;
1531 } 1531 }
1532 1532
1533 array = ALLOC_CLEAR_MULT(pumitem_T, pum_size); 1533 array = ALLOC_CLEAR_MULT(pumitem_T, pum_size);
1534 if (array == NULL) 1534 if (array == NULL)