1069 | | $body[] = sprintf( |
1070 | | /* translators: 1: Plugin name, 2: Version number. */ |
1071 | | __( '- %1$s version %2$s' ), |
1072 | | $item->name, |
1073 | | $item->item->new_version |
1074 | | ); |
| 1079 | if ( $item->item->current_version ) { |
| 1080 | $body[] = sprintf( |
| 1081 | /* translators: 1: Plugin name, 2: Current version number, 3: New version number. */ |
| 1082 | __( '- %1$s (from version %2$s to %3$s)' ), |
| 1083 | $item->name, |
| 1084 | $item->item->current_version, |
| 1085 | $item->item->new_version |
| 1086 | ); |
| 1087 | } else { |
| 1088 | $body[] = sprintf( |
| 1089 | /* translators: 1: Plugin name, 2: Version number. */ |
| 1090 | __( '- %1$s version %2$s' ), |
| 1091 | $item->name, |
| 1092 | $item->item->new_version |
| 1093 | ); |
| 1094 | } |
1087 | | $body[] = sprintf( |
1088 | | /* translators: 1: Theme name, 2: Version number. */ |
1089 | | __( '- %1$s version %2$s' ), |
1090 | | $item->name, |
1091 | | $item->item->new_version |
1092 | | ); |
| 1107 | if ( $item->item->current_version ) { |
| 1108 | $body[] = sprintf( |
| 1109 | /* translators: 1: Theme name, 2: Current version number, 3: New version number. */ |
| 1110 | __( '- %1$s (from version %2$s to %3$s)' ), |
| 1111 | $item->name, |
| 1112 | $item->item->current_version, |
| 1113 | $item->item->new_version |
| 1114 | ); |
| 1115 | } else { |
| 1116 | $body[] = sprintf( |
| 1117 | /* translators: 1: Theme name, 2: Version number. */ |
| 1118 | __( '- %1$s version %2$s' ), |
| 1119 | $item->name, |
| 1120 | $item->item->new_version |
| 1121 | ); |
| 1122 | } |
1110 | | $body[] = sprintf( |
1111 | | /* translators: 1: Plugin name, 2: Version number. */ |
1112 | | __( '- %1$s version %2$s' ), |
1113 | | $item->name, |
1114 | | $item->item->new_version |
1115 | | ); |
| 1140 | if ( $item->item->current_version ) { |
| 1141 | $body[] = sprintf( |
| 1142 | /* translators: 1: Plugin name, 2: Current version number, 3: New version number. */ |
| 1143 | __( '- %1$s (from version %2$s to %3$s)' ), |
| 1144 | $item->name, |
| 1145 | $item->item->current_version, |
| 1146 | $item->item->new_version |
| 1147 | ); |
| 1148 | } else { |
| 1149 | $body[] = sprintf( |
| 1150 | /* translators: 1: Plugin name, 2: Version number. */ |
| 1151 | __( '- %1$s version %2$s' ), |
| 1152 | $item->name, |
| 1153 | $item->item->new_version |
| 1154 | ); |
| 1155 | } |
1128 | | $body[] = sprintf( |
1129 | | /* translators: 1: Theme name, 2: Version number. */ |
1130 | | __( '- %1$s version %2$s' ), |
1131 | | $item->name, |
1132 | | $item->item->new_version |
1133 | | ); |
| 1168 | if ( $item->item->current_version ) { |
| 1169 | $body[] = sprintf( |
| 1170 | /* translators: 1: Theme name, 2: Current version number, 3: New version number. */ |
| 1171 | __( '- %1$s (from version %2$s to %3$s)' ), |
| 1172 | $item->name, |
| 1173 | $item->item->current_version, |
| 1174 | $item->item->new_version |
| 1175 | ); |
| 1176 | } else { |
| 1177 | $body[] = sprintf( |
| 1178 | /* translators: 1: Theme name, 2: Version number. */ |
| 1179 | __( '- %1$s version %2$s' ), |
| 1180 | $item->name, |
| 1181 | $item->item->new_version |
| 1182 | ); |
| 1183 | } |