Skip to content

Commit a19b8ed

Browse files
Changed: Change the word reload to refresh when refreshing widgets to be consistent
1 parent de8c1a6 commit a19b8ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/termux/widget/TermuxWidgetProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ public void onReceive(Context context, Intent intent) {
184184

185185
List<Integer> updatedAppWidgetIds = refreshAppWidgets(context, appWidgetIds, updateRemoteViews);
186186
if (updatedAppWidgetIds != null)
187-
Logger.logDebugAndShowToast(context, LOG_TAG, context.getString(R.string.msg_widgets_reloaded, Arrays.toString(appWidgetIds)));
187+
Logger.logDebugAndShowToast(context, LOG_TAG, context.getString(R.string.msg_widgets_refreshed, Arrays.toString(appWidgetIds)));
188188
else
189-
Logger.logDebugAndShowToast(context, LOG_TAG, context.getString(R.string.msg_no_widgets_found_to_reload));
189+
Logger.logDebugAndShowToast(context, LOG_TAG, context.getString(R.string.msg_no_widgets_found_to_refresh));
190190
return;
191191

192192
} default: {

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@
7373
<string name="title_single_shortcut_name">&TERMUX_APP_NAME; shortcut</string>
7474
<string name="title_termux_shortcuts">&TERMUX_APP_NAME; Shortcuts</string>
7575

76-
<string name="msg_widgets_reloaded">&TERMUX_APP_NAME; widgets reloaded: %1$s</string>
77-
<string name="msg_no_widgets_found_to_reload">No &TERMUX_APP_NAME; widgets found to reload</string>
7876
<string name="msg_no_shortcut_scripts">No files in\n&TERMUX_SHORTCUT_SCRIPTS_DIR_PATH_SHORT;</string>
7977
<string name="msg_bad_token">This shortcut is invalid - remove and add again.</string>
8078
<string name="msg_executing_task">Executing task: \"%1$s\"</string>
8179
<string name="msg_executable_absolute_path">Executable Absolute Path: \"%1$s\"</string>
8280
<string name="msg_icon_absolute_path">Icon Absolute Path: \"%1$s\"</string>
8381
<string name="msg_request_create_pinned_shortcut">Requesting to create pinned shortcut for \"%1$s\"</string>
8482
<string name="msg_request_create_static_shortcut">Requesting to create static shortcut for \"%1$s\"</string>
83+
<string name="msg_widgets_refreshed">&TERMUX_APP_NAME; widgets refreshed: %1$s</string>
84+
<string name="msg_no_widgets_found_to_refresh">No &TERMUX_APP_NAME; widgets found to refresh</string>
8585

8686
<string name="action_refresh">Refresh</string>
8787

0 commit comments

Comments
 (0)