summaryrefslogtreecommitdiff
path: root/wm/windowmaker/patches/patch-ab
blob: 92bc2c2afd5123a7aa2d5fb2f0158a2958f78498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-ab,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $

--- configure.in.orig	Fri Mar 31 06:36:55 2000
+++ configure.in	Sun Apr  2 12:03:24 2000
@@ -256,29 +256,11 @@
 supported_locales="cs de es fr gl it ja ko nl no pt ru se tr fi hr el pl ro da zh_TW.Big5 zh_CN sk"
 supported_wprefs_locales="pt hr fr ko ja cs zh_TW.Big5 es zh_CN fi it ru de"
 
-for lang in $LINGUAS; do
-	ok=0
-	for l in $supported_locales; do
-		if test "$l" = "$lang"; then
-			ok=1
-			break
-		fi
-	done
-	if test "$ok" = 1; then
-		MOFILES="$MOFILES $lang.mo"
-	else
-		echo "Locale $lang is not supported."
-	fi
-	ok=0
-	for l in $supported_wprefs_locales; do
-		if test "$l" = "$lang"; then
-			ok=1
-			break
-		fi
-	done
-	if test "$ok" = 1; then
-		WPMOFILES="$WPMOFILES $lang.mo"
-	fi
+for lang in $supported_locales; do
+	MOFILES="$MOFILES $lang.mo"
+done
+for lang in $supported_wprefs_locales; do
+	WPMOFILES="$WPMOFILES $lang.mo"
 done