From 8cf99d028596a3cd931b0e745b58b0b8ba2010f6 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Thu, 26 Dec 2024 07:19:54 +0900 Subject: [PATCH] Apply suggestions from code review --- src/org/omegat/gui/matches/MatchesVarExpansion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/omegat/gui/matches/MatchesVarExpansion.java b/src/org/omegat/gui/matches/MatchesVarExpansion.java index 67d950cdeb..f54fc87ef3 100644 --- a/src/org/omegat/gui/matches/MatchesVarExpansion.java +++ b/src/org/omegat/gui/matches/MatchesVarExpansion.java @@ -232,7 +232,7 @@ private String expandMatchSource(String localTemplate, NearString.MATCH_SOURCE c return localTemplate.replace(VAR_MATCH_SOURCE, OStrings.getString("MATCHES_VAR_EXPANSION_MATCH_COMES_FROM_FILES")); case MEMORY: return localTemplate.replace(VAR_MATCH_SOURCE, OStrings.getString("MATCHES_VAR_EXPANSION_MATCH_COMES_FROM_MEMORY")); - case TM_SUBSEG: + case SUBSEGMENTS: return localTemplate.replace(VAR_MATCH_SOURCE, OStrings.getString( "MATCHES_VAR_EXPANSION_MATCH_COMES_FROM_TM_SUBSEG") + " "); default: